lemonldap-ng-fastcgi-server.upstart 516 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
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              

13
exec mkdir /var/run/llng-fastcgi-server; chown www-data:www-data /var/run/llng-fastcgi-server && /usr/sbin/llng-fastcgi-server -u www-data -g www-data -s /var/run/llng-fastcgi-server/llng-fastcgi.sock -p /var/run/llng-fastcgi-server/llng-fastcgi-server.pid
14