void-packages/srcpkgs/nginx/files/nginx.logrotate

9 lines
152 B
Text
Raw Normal View History

2012-07-11 21:03:43 +00:00
/var/log/nginx/*.log {
missingok
sharedscripts
compress
postrotate
test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid`
endscript
}