BBlack has submitted this change and it was merged.

Change subject: use /run/ directly for nginx pidfile
......................................................................


use /run/ directly for nginx pidfile

this fixes "reload" under systemd w/ jessie, and also
works for currnet precise/trusty because they all have
/var/run -> /run anyways.

Change-Id: Ia6fb7ba1da72f5cae87b825a3befd7341c37673d
---
M templates/nginx/nginx.conf.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  BBlack: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/templates/nginx/nginx.conf.erb b/templates/nginx/nginx.conf.erb
index 3045eed..0c1204e 100644
--- a/templates/nginx/nginx.conf.erb
+++ b/templates/nginx/nginx.conf.erb
@@ -16,7 +16,7 @@
 
 
 error_log  /var/log/nginx/error.log;
-pid        /var/run/nginx.pid;
+pid        /run/nginx.pid;
 
 events {
     worker_connections  <%= @nginx_worker_connections %>;

-- 
To view, visit https://gerrit.wikimedia.org/r/186258
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6fb7ba1da72f5cae87b825a3befd7341c37673d
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to