|
|
|
@@ -19,7 +19,7 @@ ExecStartPre=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_s |
|
|
|
# Intentional delay, so that the homeserver (we likely depend on) can manage to start. |
|
|
|
ExecStartPre={{ matrix_host_command_sleep }} 5 |
|
|
|
|
|
|
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name matrix-mautrix-wsproxy \ |
|
|
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create --rm --name matrix-mautrix-wsproxy \ |
|
|
|
--log-driver=none \ |
|
|
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \ |
|
|
|
--cap-drop=ALL \ |
|
|
|
@@ -36,9 +36,11 @@ ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name |
|
|
|
/usr/bin/mautrix-wsproxy -config /data/config.yaml |
|
|
|
|
|
|
|
{% for network in matrix_mautrix_wsproxy_container_additional_networks %} |
|
|
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} {{ matrix_mautrix_wsproxy_container_network }} |
|
|
|
ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} network connect {{ network }} matrix-mautrix-wsproxy |
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
ExecStart={{ devture_systemd_docker_base_host_command_docker }} start --attach matrix-mautrix-wsproxy |
|
|
|
|
|
|
|
ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} kill matrix-mautrix-wsproxy 2>/dev/null' |
|
|
|
ExecStop=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} rm matrix-mautrix-wsproxy 2>/dev/null' |
|
|
|
Restart=always |
|
|
|
|