mirror of https://github.com/apache/cloudstack.git
Rotate haproxy.log periodically
This commit is contained in:
parent
cdc6864e7e
commit
a3515e0f59
|
|
@ -0,0 +1,10 @@
|
|||
/var/log/haproxy.log {
|
||||
daily
|
||||
rotate 5
|
||||
missingok
|
||||
notifempty
|
||||
size 10M
|
||||
postrotate
|
||||
/bin/kill -HUP `cat /var/run/rsyslog.pid 2> /dev/null` 2> /dev/null || true
|
||||
endscript
|
||||
}
|
||||
Loading…
Reference in New Issue