lemonldap-ng/fastcgi-server/systemd/llng-fastcgi-server.conf
Maudoux Christophe 6e27659c51 Revert "Update doc"
This reverts commit b77d45eca9
2018-03-12 16:45:22 +01:00

15 lines
478 B
Plaintext

description "FastCGI server for Lemonldap::NG websso system"
start on filesystem and static-network-up
stop on runlevel [016]
expect fork
respawn
pre-start script
[ -x /usr/sbin/llng-fastcgi-server ] || { stop; exit 0; }
end script
exec mkdir __FASTCGISOCKDIR__; chown __USER__:__GROUP__ __FASTCGISOCKDIR__ && /usr/sbin/llng-fastcgi-server -u __USER__ -g __GROUP__ -s __FASTCGISOCKDIR__/llng-fastcgi.sock -p __FASTCGISOCKDIR__/llng-fastcgi-server.pid