nginx-ilves/logrotate
2017-01-19 17:48:24 +02:00

11 lines
186 B
Plaintext

/var/log/nginx/*log {
missingok
notifempty
create 640 http log
sharedscripts
compress
postrotate
test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
endscript
}