blob: d72d23086b85653c0f6f30090f89108c7278c335 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/var/log/openvswitch/*.log {
daily
compress
create 640 root adm
delaycompress
missingok
rotate 30
postrotate
# Tell Open vSwitch daemons to reopen their log files
if [ -e /var/run/openvswitch/ovs-vswitchd.pid ]; then
ovs-appctl --t ovs-vswitchd vlog/reopen
fi
if [ -e /var/run/openvswitch/ovsdb-server.pid ]; then
ovs-appctl --t ovsdb-server vlog/reopen
fi
endscript
}
|