[oe-commits] [meta-openembedded] 33/97: nginx: use consistent pid file location accross recipe and init scripts

git at git.openembedded.org git at git.openembedded.org
Tue May 23 14:01:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 23a8b1f01311c1610eb6bd740f4d1297e81cdcce
Author: Pascal Bach <pascal.bach at siemens.com>
AuthorDate: Wed May 10 09:14:09 2017 +0200

    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 at siemens.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-webserver/recipes-httpd/nginx/files/nginx.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.init b/meta-webserver/recipes-httpd/nginx/files/nginx.init
old mode 100755
new mode 100644
index 0f38b9c..1a2bd7d
--- 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
 DAEMON=/usr/sbin/nginx
 NAME=nginx
 DESC=nginx
-PID=/var/run/nginx/nginx.pid
+PID=/run/nginx/nginx.pid
 
 test -x $DAEMON || exit 0
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list