Skip to content

Commit ae28a97

Browse files
committed
Fix pidfile to match PIDFile in systemd service
For latest packages from packages.sury.org/php repository, when only one version is installed
1 parent f70fe66 commit ae28a97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/map.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
'group': 'root',
108108
'defaults': odict([
109109
('global', odict([
110-
('pid', '/var/run/php' + php_version + '-fpm.pid'),
110+
('pid', '/run/php/php' + php_version + '-fpm.pid'),
111111
('error_log', '/var/log/php' + php_version + '-fpm.log'),
112112
])),
113113
('include', '/etc/php/' + php_version + '/fpm/pool.d/*.conf'),
@@ -2417,7 +2417,7 @@
24172417
'group': 'root',
24182418
'defaults': odict([
24192419
('global', odict([
2420-
('pid', '/var/run/php' + php_version + '-fpm.pid'),
2420+
('pid', '/run/php/php' + php_version + '-fpm.pid'),
24212421
('error_log', '/var/log/php' + php_version + '-fpm.log'),
24222422
])),
24232423
('include', confdir + '/fpm/pool.d/*.conf'),

0 commit comments

Comments
 (0)