瀏覽代碼

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 年之前
父節點
當前提交
d9493dbd32
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      php/fpm/config.sls

+ 1
- 1
php/fpm/config.sls 查看文件

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

Loading…
取消
儲存