]>
Commit | Line | Data |
---|---|---|
24e81092 JP |
1 | /var/log/openvswitch/*.log { |
2 | daily | |
3 | compress | |
fefb757c | 4 | sharedscripts |
24e81092 | 5 | create 640 root adm |
24e81092 JP |
6 | missingok |
7 | rotate 30 | |
8 | postrotate | |
5a0e4aec BP |
9 | # Tell Open vSwitch daemons to reopen their log files |
10 | if [ -d /var/run/openvswitch ]; then | |
bbf219ef NS |
11 | for ctl in /var/run/openvswitch/*.ctl; do |
12 | ovs-appctl -t "$ctl" vlog/reopen 2>/dev/null || : | |
13 | done | |
5a0e4aec | 14 | fi |
24e81092 | 15 | endscript |
064af421 | 16 | } |