Skip to contentSkip to conversation

nginx: use consistent pid file location accross recipe and init scripts

PATCH New Pascal Bach 1 participant 1 message May 10, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 meta-webserver/recipes-httpd/nginx/files/nginx.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100755 => 100644 meta-webserver/recipes-httpd/nginx/files/nginx.init
meta-webserver/recipes-httpd/nginx/files/nginx.init +1 -1
old mode 100755
new mode 100644
index 0f38b9c..1a2bd7d
@@ -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
 
Signature · 1 line
2.1.4