From 0aa2c4318a054ad4bc3e41dc3c5c78d5b06f9a98 Mon Sep 17 00:00:00 2001 From: callahad Date: Sun, 7 Nov 2021 21:18:52 +0000 Subject: [PATCH] deploy: 9799c569bb481622b5882b2008a24e6c4658c431 --- .../systemd-with-workers/system/matrix-synapse-worker@.service | 2 +- develop/systemd-with-workers/system/matrix-synapse.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/develop/systemd-with-workers/system/matrix-synapse-worker@.service b/develop/systemd-with-workers/system/matrix-synapse-worker@.service index d164e8ce1f..8f5c44c9d4 100644 --- a/develop/systemd-with-workers/system/matrix-synapse-worker@.service +++ b/develop/systemd-with-workers/system/matrix-synapse-worker@.service @@ -15,7 +15,7 @@ Type=notify NotifyAccess=main User=matrix-synapse WorkingDirectory=/var/lib/matrix-synapse -EnvironmentFile=/etc/default/matrix-synapse +EnvironmentFile=-/etc/default/matrix-synapse ExecStart=/opt/venvs/matrix-synapse/bin/python -m synapse.app.generic_worker --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/ --config-path=/etc/matrix-synapse/workers/%i.yaml ExecReload=/bin/kill -HUP $MAINPID Restart=always diff --git a/develop/systemd-with-workers/system/matrix-synapse.service b/develop/systemd-with-workers/system/matrix-synapse.service index f6b6dfd3ce..0c73fb55fb 100644 --- a/develop/systemd-with-workers/system/matrix-synapse.service +++ b/develop/systemd-with-workers/system/matrix-synapse.service @@ -10,7 +10,7 @@ Type=notify NotifyAccess=main User=matrix-synapse WorkingDirectory=/var/lib/matrix-synapse -EnvironmentFile=/etc/default/matrix-synapse +EnvironmentFile=-/etc/default/matrix-synapse ExecStartPre=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/ --generate-keys ExecStart=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/ ExecReload=/bin/kill -HUP $MAINPID