mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 22:49:29 -05:00
Ensure worker config exists in systemd service (#7528)
This commit is contained in:
parent
075375bbc9
commit
d74cdc1a42
1
changelog.d/7528.doc
Normal file
1
changelog.d/7528.doc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Change the systemd worker service to check that the worker config file exists instead of silently failing. Contributed by David Vo.
|
@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Synapse %i
|
Description=Synapse %i
|
||||||
|
AssertPathExists=/etc/matrix-synapse/workers/%i.yaml
|
||||||
# This service should be restarted when the synapse target is restarted.
|
# This service should be restarted when the synapse target is restarted.
|
||||||
PartOf=matrix-synapse.target
|
PartOf=matrix-synapse.target
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user