mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
25
roles/lemonldap_ng/templates/llng-fastcgi-server.service.j2
Normal file
25
roles/lemonldap_ng/templates/llng-fastcgi-server.service.j2
Normal file
@@ -0,0 +1,25 @@
|
||||
[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
|
||||
|
Reference in New Issue
Block a user