summaryrefslogtreecommitdiffstats
path: root/contrib/nghttpx-logrotate
blob: c715cede2c1134141952801c1befd90fcdf392f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
/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
}