mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
nginx: use consistent pid file location accross recipe and init scripts
The recipe and the systemd service file use /run/nginx/nginx.pid, while the sys v init script used /var/run/nginx/nginx.pid Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
9e904b6714
commit
23a8b1f013
2
meta-webserver/recipes-httpd/nginx/files/nginx.init
Executable file → Normal file
2
meta-webserver/recipes-httpd/nginx/files/nginx.init
Executable file → Normal file
|
|
@ -3,7 +3,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|||
DAEMON=/usr/sbin/nginx
|
||||
NAME=nginx
|
||||
DESC=nginx
|
||||
PID=/var/run/nginx/nginx.pid
|
||||
PID=/run/nginx/nginx.pid
|
||||
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user