[nginx] Fix pid path in nginx.conf

Jamie Nguyen jamielinux at fedoraproject.org
Sun Mar 4 20:20:07 UTC 2012


commit ee9a369c6ecdd6a0fc3f4fa35943d50a2b54d75b
Author: Jamie Nguyen <jamie at tomoyolinux.co.uk>
Date:   Sun Mar 4 20:18:38 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..eba8911 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -10,7 +10,7 @@
 Name:              nginx
 Epoch:             1
 Version:           1.0.12
-Release:           3%{?dist}
+Release:           5%{?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-5
+- 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