Skip to content

Commit f70fe66

Browse files
committed
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.
1 parent e6393c7 commit f70fe66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/fpm/config.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{%- do conf_settings.update({key: value.replace(first_version, version)}) %}
2727
{%- endif %}
2828
{%- endfor %}
29-
{%- do conf_settings.global.update({'pid': '/var/run/php' + version + '-fpm.pid' }) %}
29+
{%- do conf_settings.global.update({'pid': '/run/php/php' + version + '-fpm.pid' }) %}
3030
{%- do conf_settings.global.update({'error_log': '/var/log/php' + version + '-fpm.log' }) %}
3131
3232
php_fpm_ini_config_{{ version }}:

0 commit comments

Comments
 (0)