diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-02-22 18:43:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 18:43:17 +0000 |
commit | 70ea9593ffd5f4be09bc9ce5933b3f915f14fffa (patch) | |
tree | 223c5f72d18d437e5d5c474b08c28826af2f8c6c | |
parent | Remove cache for get_shared_rooms_for_users (#9416) (diff) | |
download | synapse-70ea9593ffd5f4be09bc9ce5933b3f915f14fffa.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | changelog.d/9463.doc | 1 | ||||
-rw-r--r-- | docs/systemd-with-workers/system/matrix-synapse-worker@.service | 1 | ||||
-rw-r--r-- | docs/systemd-with-workers/system/matrix-synapse.service | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/9463.doc b/changelog.d/9463.doc new file mode 100644 index 0000000000..c9cedd147d --- /dev/null +++ b/changelog.d/9463.doc @@ -0,0 +1 @@ +Update the example systemd config to propagate reloads to individual units. diff --git a/docs/systemd-with-workers/system/matrix-synapse-worker@.service b/docs/systemd-with-workers/system/matrix-synapse-worker@.service index cb5ac0ac87..d164e8ce1f 100644 --- a/docs/systemd-with-workers/system/matrix-synapse-worker@.service +++ b/docs/systemd-with-workers/system/matrix-synapse-worker@.service @@ -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. diff --git a/docs/systemd-with-workers/system/matrix-synapse.service b/docs/systemd-with-workers/system/matrix-synapse.service index c7b5ddfa49..f6b6dfd3ce 100644 --- a/docs/systemd-with-workers/system/matrix-synapse.service +++ b/docs/systemd-with-workers/system/matrix-synapse.service @@ -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 |