haproxy-wi/config_other/logrotate/haproxy

13 lines
307 B
Plaintext
Raw Normal View History

2019-09-12 07:16:38 +00:00
/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
}