nghttp2/contrib/nghttpx-logrotate

12 lines
219 B
Plaintext

/var/log/nghttpx/*.log {
weekly
rotate 52
missingok
compress
delaycompress
notifempty
postrotate
[ -s /var/run/nghttpx.pid ] && kill -USR1 `cat /var/run/nghttpx.pid` 2> /dev/null || true
endscript
}