/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>
@@ -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]