mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 11:39:24 -05:00
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.
This commit is contained in:
parent
0a363f9ca4
commit
70ea9593ff
1
changelog.d/9463.doc
Normal file
1
changelog.d/9463.doc
Normal file
@ -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
Block a user