jingjin / rpms / haproxy

Forked from rpms/haproxy 4 years ago
Clone

Blame SOURCES/haproxy.logrotate

819a9f
/var/log/haproxy.log {
819a9f
    daily
819a9f
    rotate 10
819a9f
    missingok
819a9f
    notifempty
819a9f
    compress
819a9f
    sharedscripts
819a9f
    postrotate
819a9f
        /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
819a9f
        /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
819a9f
    endscript
819a9f
}