Revision 07635e737045ada8eb271c0d55147561b7d813bb authored by Christophe Maudoux on 07 March 2019, 09:11:03 UTC, committed by Christophe Maudoux on 07 March 2019, 09:11:03 UTC
1 parent a076459
Raw File
lemonldap-ng-fastcgi-server.upstart
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 /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

back to top