Skip to content
Snippets Groups Projects
Unverified Commit d74cdc1a authored by David Vo's avatar David Vo Committed by GitHub
Browse files

Ensure worker config exists in systemd service (#7528)

parent 075375bb
No related branches found
No related tags found
No related merge requests found
Change the systemd worker service to check that the worker config file exists instead of silently failing. Contributed by David Vo.
[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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment