mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
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:
committed by
Khem Raj
parent
84681a31cf
commit
75d7f48c66
@@ -3,7 +3,7 @@ Description=PHP-FPM
|
|||||||
After=network.target
|
After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=@LOCALSTATEDIR@/run/php-fpm.pid
|
PIDFile=/run/php-fpm.pid
|
||||||
ExecStart=@SYSCONFDIR@/init.d/php-fpm start
|
ExecStart=@SYSCONFDIR@/init.d/php-fpm start
|
||||||
ExecStop=@SYSCONFDIR@/init.d/php-fpm stop
|
ExecStop=@SYSCONFDIR@/init.d/php-fpm stop
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user