diff options
author | David Vo <auscompgeek@users.noreply.github.com> | 2020-05-21 22:47:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-21 13:47:23 +0100 |
commit | d74cdc1a42e8b487d74c214b1d0ca575429d546a (patch) | |
tree | 785129c937f870b5bf9e26f435da0851ca7d1efd | |
parent | add a comment (diff) | |
download | synapse-d74cdc1a42e8b487d74c214b1d0ca575429d546a.tar.xz |
Ensure worker config exists in systemd service (#7528)
Diffstat (limited to '')
-rw-r--r-- | changelog.d/7528.doc | 1 | ||||
-rw-r--r-- | docs/systemd-with-workers/system/matrix-synapse-worker@.service | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/7528.doc b/changelog.d/7528.doc new file mode 100644 index 0000000000..6f2a783b50 --- /dev/null +++ b/changelog.d/7528.doc @@ -0,0 +1 @@ +Change the systemd worker service to check that the worker config file exists instead of silently failing. Contributed by David Vo. diff --git a/docs/systemd-with-workers/system/matrix-synapse-worker@.service b/docs/systemd-with-workers/system/matrix-synapse-worker@.service index 70589a7a51..39bc5e88e8 100644 --- a/docs/systemd-with-workers/system/matrix-synapse-worker@.service +++ b/docs/systemd-with-workers/system/matrix-synapse-worker@.service @@ -1,6 +1,6 @@ [Unit] Description=Synapse %i - +AssertPathExists=/etc/matrix-synapse/workers/%i.yaml # This service should be restarted when the synapse target is restarted. PartOf=matrix-synapse.target |