From ef3d930ebaf0fde929a14dba70556a29e1ba06de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 12 Nov 2019 21:58:50 +0100 Subject: [PATCH] Say to systemd to create a directory with good permission in /var/run for synpase --- conf/matrix-synapse.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/matrix-synapse.service b/conf/matrix-synapse.service index 272b975..c82ad3b 100644 --- a/conf/matrix-synapse.service +++ b/conf/matrix-synapse.service @@ -11,6 +11,7 @@ ExecStartPre=/opt/yunohost/matrix-__APP__/bin/python -m synapse.app.homeserver - ExecStart=/opt/yunohost/matrix-__APP__/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-__APP__/homeserver.yaml --config-path=/etc/matrix-__APP__/conf.d/ Restart=always RestartSec=3 +RuntimeDirectory=%i [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target