summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/nginx
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2017-05-10 09:14:09 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-05-23 15:49:38 +0200
commit23a8b1f01311c1610eb6bd740f4d1297e81cdcce (patch)
treec374cc7d1d059369f460d0852160aa3eedc805b5 /meta-webserver/recipes-httpd/nginx
parent9e904b6714c14bac05ba958ca32bd48b4512944d (diff)
downloadmeta-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.init2
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
3DAEMON=/usr/sbin/nginx 3DAEMON=/usr/sbin/nginx
4NAME=nginx 4NAME=nginx
5DESC=nginx 5DESC=nginx
6PID=/var/run/nginx/nginx.pid 6PID=/run/nginx/nginx.pid
7 7
8test -x $DAEMON || exit 0 8test -x $DAEMON || exit 0
9 9