|
|
|
@ -7,15 +7,16 @@ Type=simple |
|
|
|
|
PIDFile=/var/run/llng-fastcgi-server/llng-fastcgi-server.pid |
|
|
|
|
User=apache |
|
|
|
|
Group=apache |
|
|
|
|
{% if ansible_os_family == 'RedHat' and ansible_distribution_major_version is version('8','<') %} |
|
|
|
|
Environment=PM_MAX_REQUESTS=5000 |
|
|
|
|
Environment=PM_SIZECHECK_NUM_REQUESTS=100 |
|
|
|
|
Environment=PM_MAX_SIZE=800000 |
|
|
|
|
{% endif %} |
|
|
|
|
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 |
|
|
|
|
--foreground |
|
|
|
|
PrivateTmp=yes |
|
|
|
|
PrivateDevices=yes |
|
|
|
|
ProtectSystem=full |
|
|
|
|