php: use /run instead /var/run in systemd service file

/var/run has been deprecated by systemd, so use /run instead,
as suggested by systemd.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Qi.Chen@windriver.com
2020-10-16 14:17:47 +08:00
committed by Khem Raj
parent 84681a31cf
commit 75d7f48c66
@@ -3,7 +3,7 @@ Description=PHP-FPM
After=network.target
[Service]
Type=forking
PIDFile=@LOCALSTATEDIR@/run/php-fpm.pid
PIDFile=/run/php-fpm.pid
ExecStart=@SYSCONFDIR@/init.d/php-fpm start
ExecStop=@SYSCONFDIR@/init.d/php-fpm stop
[Install]