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.
 
 
 
 
 
 

31 lines
874 B

[Unit]
Description=FastCGI server for Lemonldap::NG websso system
After=network.target
[Service]
Type=simple
PIDFile=/var/run/llng-fastcgi-server/llng-fastcgi-server.pid
User=apache
Group=apache
Environment=PM_MAX_REQUESTS=5000
Environment=PM_SIZECHECK_NUM_REQUESTS=100
Environment=PM_MAX_SIZE=400000
Environment=SOCKET=/var/run/llng-fastcgi-server/llng-fastcgi.sock
Environment=PID=/var/run/llng-fastcgi-server/llng-fastcgi-server.pid
Environment=PERL_LWP_ENV_PROXY={{ llng_reload_use_proxy | ternary('1','0') }}
ExecStart=/usr/libexec/lemonldap-ng/sbin/llng-fastcgi-server \
--foreground \
--plackOptions=--manager=FCGI::ProcManager::Constrained
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes
NoNewPrivileges=yes
MemoryLimit=2048M
Restart=on-failure
StartLimitInterval=0
RestartSec=1
[Install]
WantedBy=multi-user.target