Browse Source

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>
Qi.Chen@windriver.com 3 years ago
parent
commit
75d7f48c66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      meta-oe/recipes-devtools/php/php/php-fpm.service

+ 1 - 1
meta-oe/recipes-devtools/php/php/php-fpm.service

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