diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2020-10-16 14:17:47 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-10-16 09:21:54 -0700 |
commit | 75d7f48c66c1c6816b31baccadb81fca978835a1 (patch) | |
tree | cbec7fdb2f6f38afc05e0976333abe56d4f0b80e /meta-oe | |
parent | 84681a31cfd3f7aa8cc89181c2c87ffffcbc261b (diff) | |
download | meta-openembedded-75d7f48c66c1c6816b31baccadb81fca978835a1.tar.gz |
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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-devtools/php/php/php-fpm.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/php/php/php-fpm.service b/meta-oe/recipes-devtools/php/php/php-fpm.service index ac79dc931..eec76fb56 100644 --- a/meta-oe/recipes-devtools/php/php/php-fpm.service +++ b/meta-oe/recipes-devtools/php/php/php-fpm.service | |||
@@ -3,7 +3,7 @@ Description=PHP-FPM | |||
3 | After=network.target | 3 | After=network.target |
4 | [Service] | 4 | [Service] |
5 | Type=forking | 5 | Type=forking |
6 | PIDFile=@LOCALSTATEDIR@/run/php-fpm.pid | 6 | PIDFile=/run/php-fpm.pid |
7 | ExecStart=@SYSCONFDIR@/init.d/php-fpm start | 7 | ExecStart=@SYSCONFDIR@/init.d/php-fpm start |
8 | ExecStop=@SYSCONFDIR@/init.d/php-fpm stop | 8 | ExecStop=@SYSCONFDIR@/init.d/php-fpm stop |
9 | [Install] | 9 | [Install] |