Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
554 B

[Unit]
Description=FastCGI server for Lemonldap::NG websso system
After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/default/llng-fastcgi-server
PIDFile=/run/llng-fastcgi-server/llng-fastcgi-server.pid
User=apache
Group=apache
ExecStart=/usr/libexec/lemonldap-ng/sbin/llng-fastcgi-server \
--foreground
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes
NoNewPrivileges=yes
MemoryLimit={{ llng_fcgi_workers * 250 }}M
Restart=on-failure
StartLimitInterval=0
RestartSec=1
[Install]
WantedBy=multi-user.target