nginx-ilves/logrotate

11 lines
178 B
Plaintext
Raw Permalink Normal View History

2017-01-19 17:48:24 +02:00
/var/log/nginx/*log {
missingok
notifempty
create 640 http log
sharedscripts
compress
postrotate
2017-04-14 16:51:33 +03:00
test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
2017-01-19 17:48:24 +02:00
endscript
}