diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2017-05-10 09:14:09 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-05-23 15:49:38 +0200 |
commit | 23a8b1f01311c1610eb6bd740f4d1297e81cdcce (patch) | |
tree | c374cc7d1d059369f460d0852160aa3eedc805b5 /meta-webserver/recipes-httpd/nginx | |
parent | 9e904b6714c14bac05ba958ca32bd48b4512944d (diff) | |
download | meta-openembedded-23a8b1f01311c1610eb6bd740f4d1297e81cdcce.tar.gz |
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>
Diffstat (limited to 'meta-webserver/recipes-httpd/nginx')
-rw-r--r--[-rwxr-xr-x] | meta-webserver/recipes-httpd/nginx/files/nginx.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.init b/meta-webserver/recipes-httpd/nginx/files/nginx.init index 0f38b9cdb..1a2bd7dff 100755..100644 --- a/meta-webserver/recipes-httpd/nginx/files/nginx.init +++ b/meta-webserver/recipes-httpd/nginx/files/nginx.init | |||
@@ -3,7 +3,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin | |||
3 | DAEMON=/usr/sbin/nginx | 3 | DAEMON=/usr/sbin/nginx |
4 | NAME=nginx | 4 | NAME=nginx |
5 | DESC=nginx | 5 | DESC=nginx |
6 | PID=/var/run/nginx/nginx.pid | 6 | PID=/run/nginx/nginx.pid |
7 | 7 | ||
8 | test -x $DAEMON || exit 0 | 8 | test -x $DAEMON || exit 0 |
9 | 9 | ||