summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/9463.doc1
-rw-r--r--docs/systemd-with-workers/system/matrix-synapse-worker@.service1
-rw-r--r--docs/systemd-with-workers/system/matrix-synapse.service1
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