nginx/nginx.logrotate
Jeremy Hinegardner 1c673dcb63 Updates to init script
* Add rotate command and use it in logrotate
* Use pid files for all killprocs to help in the case where
  users want to run multiple nginx instances
* Remove the non-locale erorr message in the upgrade command
2010-12-12 17:01:41 -07:00

13 lines
171 B
Plaintext

/var/log/nginx/*log {
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
/etc/init.d/nginx rotate
endscript
}