]>
Commit | Line | Data |
---|---|---|
b54c9e97 | 1 | # Copyright (C) 2009, 2010, 2011, 2012 Nicira, Inc. |
c434706a BP |
2 | # |
3 | # Copying and distribution of this file, with or without modification, | |
4 | # are permitted in any medium without royalty provided the copyright | |
5 | # notice and this notice are preserved. This file is offered as-is, | |
6 | # without warranty of any kind. | |
7 | ||
8 | /var/log/openvswitch/*.log { | |
43516d93 GS |
9 | daily |
10 | compress | |
c434706a BP |
11 | sharedscripts |
12 | missingok | |
13 | postrotate | |
14 | # Tell Open vSwitch daemons to reopen their log files | |
b54c9e97 BP |
15 | for pidfile in `cd /var/run/openvswitch && echo *.pid`; do |
16 | ovs-appctl -t "${pidfile%%.pid}" vlog/reopen | |
17 | done | |
c434706a BP |
18 | endscript |
19 | } |