haproxy/haproxy.logrotate
daidai_is_here f012431c42 init package
2020-02-14 10:50:02 +08:00

14 lines
319 B
Plaintext

/var/log/haproxy.log {
compress
daily
dateext
rotate 31
missingok
notifempty
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
}