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

9 lines
152 B
Plaintext
Raw Normal View History

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