mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 06:23:52 +01: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
3 changed files with 3 additions and 0 deletions
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.
|
# This service should be restarted when the synapse target is restarted.
|
||||||
PartOf=matrix-synapse.target
|
PartOf=matrix-synapse.target
|
||||||
|
ReloadPropagatedFrom=matrix-synapse.target
|
||||||
|
|
||||||
# if this is started at the same time as the main, let the main process start
|
# if this is started at the same time as the main, let the main process start
|
||||||
# first, to initialise the database schema.
|
# first, to initialise the database schema.
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description=Synapse master
|
||||||
|
|
||||||
# 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
|
||||||
|
ReloadPropagatedFrom=matrix-synapse.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
|
|
Loading…
Reference in a new issue