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

9 lines
152 B
Plaintext

/var/log/nginx/*.log {
missingok
sharedscripts
compress
postrotate
test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid`
endscript
}