nginx-ilves/logrotate

11 lines
186 B
Plaintext
Raw Normal View History

2017-01-19 17:48:24 +02:00
/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
}