nouveaux tests d'install de Sympa
This commit is contained in:
parent
6e95427ece
commit
8a1bf41ae2
|
@ -4,6 +4,7 @@ title: Howto Sympa
|
||||||
...
|
...
|
||||||
|
|
||||||
* Documentation : <https://sympa-community.github.io/manual/>
|
* Documentation : <https://sympa-community.github.io/manual/>
|
||||||
|
* Statut de cette page : prod / bullseye
|
||||||
|
|
||||||
[Sympa](http://www.sympa.org/) est un logiciel libre de gestion de listes de diffusion. Il est développé en Perl depuis plus de 20 ans par des développeurs français.
|
[Sympa](http://www.sympa.org/) est un logiciel libre de gestion de listes de diffusion. Il est développé en Perl depuis plus de 20 ans par des développeurs français.
|
||||||
Il s'utilise avec une base de données [MySQL](HowtoMySQL) ou [PostgreSQL](HowtoPostgreSQL), et peut aller lire des données dans un annuaire [LDAP](HowtoOpenLDAP).
|
Il s'utilise avec une base de données [MySQL](HowtoMySQL) ou [PostgreSQL](HowtoPostgreSQL), et peut aller lire des données dans un annuaire [LDAP](HowtoOpenLDAP).
|
||||||
|
@ -13,7 +14,7 @@ Il s'utilise avec une base de données [MySQL](HowtoMySQL) ou [PostgreSQL](Howto
|
||||||
Installer au préalable [Postfix](HowtoPostfix), [Apache](HowtoApache) et [MariaDB](HowtoMySQL).
|
Installer au préalable [Postfix](HowtoPostfix), [Apache](HowtoApache) et [MariaDB](HowtoMySQL).
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
# apt install sympa default-mysql-server libapache2-mod-fcgid opendkim-tools
|
# apt install sympa default-mysql-server libapache2-mod-fcgid opendkim-tools spawn-fcgi
|
||||||
|
|
||||||
# sympa -v
|
# sympa -v
|
||||||
Sympa 6.2.60
|
Sympa 6.2.60
|
||||||
|
@ -45,20 +46,20 @@ After=syslog.target sympa.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=%t/sympa/wwsympa.pid
|
PIDFile=/var/run/sympa/wwsympa.pid
|
||||||
ExecStart=/usr/bin/spawn-fcgi -F $FCGI_CHILDREN \
|
ExecStart=/usr/bin/spawn-fcgi -F $FCGI_CHILDREN \
|
||||||
-P ${RUNTIME_DIRECTORY}/wwsympa.pid \
|
-P /var/run/sympa/wwsympa.pid \
|
||||||
-s ${RUNTIME_DIRECTORY}/wwsympa.socket \
|
-s /var/run/sympa/wwsympa.socket \
|
||||||
-u $FCGI_USER -g $FCGI_GROUP $FCGI_OPTS -- \
|
-u $FCGI_USER -g $FCGI_GROUP $FCGI_OPTS -- \
|
||||||
/usr/lib/cgi-bin/sympa/wwsympa.fcgi
|
/usr/lib/cgi-bin/sympa/wwsympa.fcgi
|
||||||
Environment="FCGI_CHILDREN=5"
|
Environment="FCGI_CHILDREN=5"
|
||||||
Environment="FCGI_USER=sympa"
|
Environment="FCGI_USER=sympa"
|
||||||
Environment="FCGI_GROUP=sympa"
|
Environment="FCGI_GROUP=sympa"
|
||||||
Environment="FCGI_OPTS=-M 0600 -U www-data -G www-data"
|
Environment="FCGI_OPTS=-M 0600 -U www-data -G www-data"
|
||||||
EnvironmentFile=-/etc/default/sympa
|
#EnvironmentFile=-/etc/default/sympa
|
||||||
Restart=always
|
Restart=always
|
||||||
RuntimeDirectory=sympa
|
#RuntimeDirectory=sympa
|
||||||
RuntimeDirectoryPreserve=yes
|
#RuntimeDirectoryPreserve=yes
|
||||||
|
|
||||||
#ProtectHome=no
|
#ProtectHome=no
|
||||||
##ProtectHome=tmpfs
|
##ProtectHome=tmpfs
|
||||||
|
@ -156,7 +157,7 @@ lang fr
|
||||||
|
|
||||||
## Apache
|
## Apache
|
||||||
|
|
||||||
Vous devez créer un VirtualHost du type après avoir désactivé la configuration Sympa globale via `a2disconf sympa` :
|
Vous devez créer un VirtualHost du type après avoir désactivé la configuration Sympa globale via `a2disconf sympa` et activé `a2enmod proxy_fcgi` :
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
<VirtualHost *:80 *:443>
|
<VirtualHost *:80 *:443>
|
||||||
|
|
Loading…
Reference in a new issue