| 1 | [Unit] |
| 2 | Description=FastCGI server for Lemonldap::NG websso system |
| 3 | After=network.target |
| 4 | Documentation=https://lemonldap-ng.org/documentation/latest/fastcgiserver |
| 5 | |
| 6 | [Service] |
| 7 | Type=forking |
| 8 | EnvironmentFile=/etc/default/lemonldap-ng-fastcgi-server |
| 9 | PIDFile=/run/llng-fastcgi-server/llng-fastcgi-server.pid |
| 10 | ExecStart=/usr/sbin/llng-fastcgi-server |
| 11 | ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile ${PID} |
| 12 | KillMode=mixed |
| 13 | PrivateTmp=yes |
| 14 | |
| 15 | [Install] |
| 16 | Alias=llng-fastcgi-server.service |
| 17 | WantedBy=multi-user.target |
| 18 |