fix(fpm/config.sls): Fix pidfile to match PIDFile in systemd service

Systemd services from packages.sury.org/php repository have PIDFile in /run/php directory, and latest package 7.4.2-5 has ExecStartPost which fails with timeout if PIDFile is not found.
This commit is contained in:
Sergio Cambra 2020-02-03 14:10:47 +01:00
parent e8b1dd80b5
commit d9493dbd32

View File

@ -26,7 +26,7 @@
{%- do conf_settings.update({key: value.replace(first_version, version)}) %}
{%- endif %}
{%- endfor %}
{%- do conf_settings.global.update({'pid': '/var/run/php' + version + '-fpm.pid' }) %}
{%- do conf_settings.global.update({'pid': '/run/php/php' + version + '-fpm.pid' }) %}
{%- do conf_settings.global.update({'error_log': '/var/log/php' + version + '-fpm.log' }) %}
php_fpm_ini_config_{{ version }}: