diff --git a/nginx.logrotate b/nginx.logrotate index 1c0f42d..cf4cdc5 100644 --- a/nginx.logrotate +++ b/nginx.logrotate @@ -6,7 +6,7 @@ compress sharedscripts postrotate - /etc/init.d/nginx reopen_logs + /bin/kill -USR1 $(cat /run/nginx.pid 2>/dev/null) 2>/dev/null || : endscript } diff --git a/nginx.spec b/nginx.spec index 4e5bc74..61a9724 100644 --- a/nginx.spec +++ b/nginx.spec @@ -11,7 +11,7 @@ Name: nginx Epoch: 1 Version: 1.0.15 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A high performance web server and reverse proxy server Group: System Environment/Daemons @@ -213,6 +213,9 @@ fi %changelog +* Mon May 14 2012 Jamie Nguyen - 1:1.0.15-3 +- fix incorrect postrotate script in nginx.logrotate + * Thu Apr 19 2012 Jamie Nguyen - 1:1.0.15-2 - renable auto-cc-gcc patch due to warnings on rawhide