From d4321cb9f8eddc55c5cb1ebebc4832f139a84441 Mon Sep 17 00:00:00 2001 From: mtrossevin Date: Wed, 17 Nov 2021 18:04:53 +0100 Subject: [PATCH] =?UTF-8?q?remplace=20/run=20par=20%t=20=20et=20/run/sympa?= =?UTF-8?q?=20par=20${RUNTIME=5FDIRECTORY}=20dans=20l'unit=C3=A9=20systemd?= =?UTF-8?q?=20permettant=20changements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoSympa.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HowtoSympa.md b/HowtoSympa.md index dd5cbe24..950faa3c 100644 --- a/HowtoSympa.md +++ b/HowtoSympa.md @@ -141,12 +141,12 @@ After=syslog.target sympa.service Type=forking User=sympa Group=sympa -ExecStart=!/usr/bin/spawn-fcgi -F 5 -P /run/sympa/wwsympa.pid -s /run/sympa/wwsympa.socket -u sympa -g sympa -M 0660 -G www-data -- /usr/lib/cgi-bin/sympa/wwsympa.fcgi +ExecStart=!/usr/bin/spawn-fcgi -F 5 -P ${RUNTIME_DIRECTORY}/wwsympa.pid -s ${RUNTIME_DIRECTORY}/wwsympa.socket -u sympa -g sympa -M 0660 -G www-data -- /usr/lib/cgi-bin/sympa/wwsympa.fcgi Restart=always RuntimeDirectory=sympa RuntimeDirectoryPreserve=yes -PIDFile=/run/sympa/wwsympa.pid +PIDFile=%t/sympa/wwsympa.pid ~~~ La configuration du vhost apache devient alors :