|
|
@ -7,15 +7,16 @@ Type=simple |
|
|
|
PIDFile=/var/run/llng-fastcgi-server/llng-fastcgi-server.pid |
|
|
|
PIDFile=/var/run/llng-fastcgi-server/llng-fastcgi-server.pid |
|
|
|
User=apache |
|
|
|
User=apache |
|
|
|
Group=apache |
|
|
|
Group=apache |
|
|
|
|
|
|
|
{% if ansible_os_family == 'RedHat' and ansible_distribution_major_version is version('8','<') %} |
|
|
|
Environment=PM_MAX_REQUESTS=5000 |
|
|
|
Environment=PM_MAX_REQUESTS=5000 |
|
|
|
Environment=PM_SIZECHECK_NUM_REQUESTS=100 |
|
|
|
Environment=PM_SIZECHECK_NUM_REQUESTS=100 |
|
|
|
Environment=PM_MAX_SIZE=800000 |
|
|
|
Environment=PM_MAX_SIZE=800000 |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
Environment=SOCKET=/var/run/llng-fastcgi-server/llng-fastcgi.sock |
|
|
|
Environment=SOCKET=/var/run/llng-fastcgi-server/llng-fastcgi.sock |
|
|
|
Environment=PID=/var/run/llng-fastcgi-server/llng-fastcgi-server.pid |
|
|
|
Environment=PID=/var/run/llng-fastcgi-server/llng-fastcgi-server.pid |
|
|
|
Environment=PERL_LWP_ENV_PROXY={{ llng_reload_use_proxy | ternary('1','0') }} |
|
|
|
Environment=PERL_LWP_ENV_PROXY={{ llng_reload_use_proxy | ternary('1','0') }} |
|
|
|
ExecStart=/usr/libexec/lemonldap-ng/sbin/llng-fastcgi-server \ |
|
|
|
ExecStart=/usr/libexec/lemonldap-ng/sbin/llng-fastcgi-server \ |
|
|
|
--foreground \ |
|
|
|
--foreground |
|
|
|
--plackOptions=--manager=FCGI::ProcManager::Constrained |
|
|
|
|
|
|
|
PrivateTmp=yes |
|
|
|
PrivateTmp=yes |
|
|
|
PrivateDevices=yes |
|
|
|
PrivateDevices=yes |
|
|
|
ProtectSystem=full |
|
|
|
ProtectSystem=full |
|
|
|