diff --git a/nginx.logrotate b/nginx.logrotate index a6f829b..0d5b3f1 100644 --- a/nginx.logrotate +++ b/nginx.logrotate @@ -1,5 +1,5 @@ /var/log/nginx/*log { - create 0644 root nginx + create 0644 nginx nginx daily rotate 10 missingok diff --git a/nginx.spec b/nginx.spec index 28ec981..11b55f4 100644 --- a/nginx.spec +++ b/nginx.spec @@ -11,7 +11,7 @@ Name: nginx Epoch: 1 Version: 1.2.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A high performance web server and reverse proxy server Group: System Environment/Daemons @@ -202,6 +202,9 @@ fi %changelog +* Wed Dec 19 2012 Jamie Nguyen - 1:1.2.6-3 +- use correct file ownership when rotating log files + * Tue Dec 18 2012 Jamie Nguyen - 1:1.2.6-2 - send correct kill signal and use correct file permissions when rotating log files (#888225)