jingjin / rpms / haproxy

Forked from rpms/haproxy 4 years ago
Clone

Blame SOURCES/haproxy.logrotate

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