summaryrefslogtreecommitdiff
path: root/haproxy.logrotate
blob: 96544e03267519c726bbaf183951602e164a72af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/var/log/haproxy.log {
    daily
    rotate 10
    missingok
    notifempty
    compress
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
        /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
    endscript
}