Bläddra i källkod

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.
pull/209/head
Sergio Cambra 5 år sedan
förälder
incheckning
d9493dbd32
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      php/fpm/config.sls

+ 1
- 1
php/fpm/config.sls Visa fil

@@ -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 }}:

Laddar…
Avbryt
Spara