summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorvillepeh <100730729+villepeh@users.noreply.github.com>2024-04-26 11:56:20 +0300
committerGitHub <noreply@github.com>2024-04-26 09:56:20 +0100
commit9c918739220bb548d9e5e5c2f5692c79bd38668d (patch)
tree855555aa617f53ed117d5f56dbb78a0206f1a5b4 /docs
parentImprove error message for cross signing reset with MSC3861 enabled (#17121) (diff)
downloadsynapse-9c918739220bb548d9e5e5c2f5692c79bd38668d.tar.xz
Add RuntimeDirectory to matrix-synapse.service (#17084)
This makes it easy to store UNIX sockets with correct permissions. Those
would be located in /run/synapse which is the directory used in many
examples in Synapse configuration manual. Additionally, the directory
and sockets are deleted when Synapse is shut down.
Diffstat (limited to 'docs')
-rw-r--r--docs/systemd-with-workers/system/matrix-synapse.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/systemd-with-workers/system/matrix-synapse.service b/docs/systemd-with-workers/system/matrix-synapse.service
index 0c73fb55fb..31ceccb77f 100644
--- a/docs/systemd-with-workers/system/matrix-synapse.service
+++ b/docs/systemd-with-workers/system/matrix-synapse.service
@@ -9,6 +9,7 @@ ReloadPropagatedFrom=matrix-synapse.target
 Type=notify
 NotifyAccess=main
 User=matrix-synapse
+RuntimeDirectory=synapse
 WorkingDirectory=/var/lib/matrix-synapse
 EnvironmentFile=-/etc/default/matrix-synapse
 ExecStartPre=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/ --generate-keys