[nginx] Fix pid path in nginx.conf

Jamie Nguyen jamielinux at fedoraproject.org
Sun Mar 4 18:06:49 UTC 2012


commit a6548afc97d2af6aba5218cc1c54226ab58efdf4
Author: Jamie Nguyen <jamie at tomoyolinux.co.uk>
Date:   Sun Mar 4 18:05:24 2012 +0000

    Fix pid path in nginx.conf

 nginx.conf |    2 +-
 nginx.spec |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nginx.conf b/nginx.conf
index dc8091c..6116a14 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -22,7 +22,7 @@ error_log  /var/log/nginx/error.log;
 #error_log  /var/log/nginx/error.log  notice;
 #error_log  /var/log/nginx/error.log  info;
 
-pid        /var/run/nginx.pid;
+pid        /run/nginx.pid;
 
 
 #----------------------------------------------------------------------
diff --git a/nginx.spec b/nginx.spec
index 68a7438..623c809 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -10,7 +10,7 @@
 Name:              nginx
 Epoch:             1
 Version:           1.0.12
-Release:           3%{?dist}
+Release:           4%{?dist}
 
 Summary:           A high performance web server and reverse proxy server
 Group:             System Environment/Daemons
@@ -212,6 +212,9 @@ fi
 
 
 %changelog
+* Sun Mar 04 2012 Jamie Nguyen <jamie at tomoyolinux.co.uk> 1:1.0.12-4
+- change pid path in nginx.conf to match systemd service file
+
 * Sun Mar 04 2012 Jamie Nguyen <jamie at tomoyolinux.co.uk> 1:1.0.12-3
 - fix %%pre scriptlet
 


More information about the scm-commits mailing list