nginx/nginx.logrotate
2012-05-16 22:11:49 +01:00

13 lines
194 B
Plaintext

/var/log/nginx/*log {
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
/bin/systemctl kill --signal=USR1 nginx.service
endscript
}