wwsympa-multiwatch.servicein 501 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Sympa web interface FastCGI backend
After=sympa.service
Requires=wwsympa.socket

[Service]
User=--USER--
Group=--GROUP--
ExecStart=/usr/bin/multiwatch \
          -f $WWS_FCGI_CHILDREN -- \
          --execcgidir--/wwsympa.fcgi
StandardOutput=null
StandardInput=socket
StandardError=null
Environment="WWS_FCGI_CHILDREN=5"
16
EnvironmentFile=-/etc/default/sympa
17
EnvironmentFile=-/etc/sysconfig/sympa
18
19
Restart=always
RestartSec=5
20
21
22
23

[Install]
Also=wwsympa.socket
WantedBy=multi-user.target