From a6548afc97d2af6aba5218cc1c54226ab58efdf4 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Sun, 4 Mar 2012 18:05:24 +0000 Subject: [PATCH] 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 1:1.0.12-4 +- change pid path in nginx.conf to match systemd service file + * Sun Mar 04 2012 Jamie Nguyen 1:1.0.12-3 - fix %%pre scriptlet