2016-02-09 12:15:54 +01:00
|
|
|
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
|
|
|
|
|
2016-03-06 07:54:45 +01:00
|
|
|
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
|
2016-02-09 12:15:54 +01:00
|
|
|
|