example systemd config: propagate reloads to units (#9463)
It should be possible to reload `synapse.target` to have the reload propagate to all the synapse units.pull/9479/head
parent
0a363f9ca4
commit
70ea9593ff
|
@ -0,0 +1 @@
|
|||
Update the example systemd config to propagate reloads to individual units.
|
|
@ -4,6 +4,7 @@ AssertPathExists=/etc/matrix-synapse/workers/%i.yaml
|
|||
|
||||
# This service should be restarted when the synapse target is restarted.
|
||||
PartOf=matrix-synapse.target
|
||||
ReloadPropagatedFrom=matrix-synapse.target
|
||||
|
||||
# if this is started at the same time as the main, let the main process start
|
||||
# first, to initialise the database schema.
|
||||
|
|
|
@ -3,6 +3,7 @@ Description=Synapse master
|
|||
|
||||
# This service should be restarted when the synapse target is restarted.
|
||||
PartOf=matrix-synapse.target
|
||||
ReloadPropagatedFrom=matrix-synapse.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
|
|
Loading…
Reference in New Issue