desktop/nginx/logrotate

10 lines
172 B
Plaintext
Raw Normal View History

2013-05-27 15:44:31 +08:00
/var/log/nginx/*log {
missingok
create 640 http log
sharedscripts
compress
postrotate
test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid`
endscript
}