Fix postrotate script in nginx.logrotate

This commit is contained in:
Jamie Nguyen 2012-05-14 19:17:54 +01:00
parent 8a97985f4d
commit 6380c10e5a
2 changed files with 5 additions and 2 deletions

View File

@ -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
}

View File

@ -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 <jamie@tomoyolinux.co.uk> - 1:1.0.15-3
- fix incorrect postrotate script in nginx.logrotate
* Thu Apr 19 2012 Jamie Nguyen <jamie@tomoyolinux.co.uk> - 1:1.0.15-2
- renable auto-cc-gcc patch due to warnings on rawhide