client soap sympa via socket et non plus via port tcp

This commit is contained in:
fab
2026-09-10 09:26:59 +02:00
parent da40699a01
commit 4c4746cd2c
3 changed files with 20 additions and 4 deletions
+2
View File
@@ -48,4 +48,6 @@ MD5PASS=$(/usr/lib/sympa/bin/sympa.pl --md5_digest=${SOAP_PASSWORD} | cut -d':'
sed -i -e "s%SOAP_MD5PASS%${MD5PASS}%g" /etc/sympa/trusted_applications.conf
echo "Starting supervisord"
mkdir -p /run/sympa
chown www-data:www-data /run/sympa
supervisord -n -c /etc/supervisord.conf
+2 -1
View File
@@ -94,6 +94,7 @@ stdout_events_enabled=true
stderr_events_enabled=true
[program:sympa-soap-fcgi]
command=/usr/bin/spawn-fcgi -n -u sympa -g sympa -a 127.0.0.1 -p 8443 /usr/lib/cgi-bin/sympa/sympa_soap_server.fcgi
#command=/usr/bin/spawn-fcgi -n -u sympa -g sympa -a 127.0.0.1 -p 8443 /usr/lib/cgi-bin/sympa/sympa_soap_server.fcgi
command=/usr/bin/spawn-fcgi -n -u sympa -g sympa -s /run/sympa/sympasoap.socket -M 0660 -U www-data -G www-data /usr/lib/cgi-bin/sympa/sympa_soap_server.fcgi
stdout_events_enabled=true
stderr_events_enabled=true