|
|
|
@ -13,10 +13,6 @@ Wants={{ service }}
|
|
|
|
|
Type=simple
|
|
|
|
|
ExecStartPre=-{{ matrix_host_command_docker }} kill matrix-dynamic-dns
|
|
|
|
|
ExecStartPre=-{{ matrix_host_command_docker }} rm matrix-dynamic-dns
|
|
|
|
|
|
|
|
|
|
# Intentional delay, so that the homeserver (we likely depend on) can manage to start.
|
|
|
|
|
ExecStartPre={{ matrix_host_command_sleep }} 5
|
|
|
|
|
|
|
|
|
|
ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-dynamic-dns \
|
|
|
|
|
--log-driver=none \
|
|
|
|
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
|
|
|
|