|
|
|
@@ -15,12 +15,6 @@ Type=simple |
|
|
|
Environment="HOME={{ matrix_systemd_unit_home_path }}" |
|
|
|
ExecStartPre=-{{ matrix_host_command_docker }} kill matrix-dendrite |
|
|
|
ExecStartPre=-{{ matrix_host_command_docker }} rm matrix-dendrite |
|
|
|
{% if matrix_s3_media_store_enabled %} |
|
|
|
# Allow for some time before starting, so that media store can mount. |
|
|
|
# Mounting can happen later too, but if we start writing, |
|
|
|
# we'd write files to the local filesystem and fusermount will complain. |
|
|
|
ExecStartPre={{ matrix_host_command_sleep }} 3 |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-dendrite \ |
|
|
|
--log-driver=none \ |
|
|
|
|