mirror of https://github.com/Aidaho12/haproxy-wi
39 lines
943 B
Django/Jinja
39 lines
943 B
Django/Jinja
/var/log/haproxy/access.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
|
|
}
|
|
|
|
/var/log/haproxy/error.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
|
|
}
|
|
|
|
/var/log/haproxy/status.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
|
|
}
|