nginx-ilves/logrotate
2017-04-14 16:51:33 +03:00

11 lines
178 B
Plaintext

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