ovsdb-data: Allow arbitrary white space as string data delimiters.
[sliver-openvswitch.git] / xenserver / etc_logrotate.d_vswitch
index dae235b..d6f71af 100644 (file)
@@ -5,10 +5,12 @@
 # notice and this notice are preserved.  This file is offered as-is,
 # without warranty of any kind.
 
-/var/log/ovs-vswitchd.log {
+/var/log/ovs-vswitchd.log /var/log/ovs-brcompatd.log {
        sharedscripts
        postrotate
-        # Send sighup to vswitch which will cause it to reopen its log files.
-        /sbin/service vswitch reload
+       # Tell ovs-vswitchd and ovs-brcompatd to reopen their log files
+       /usr/bin/ovs-appctl -t ovs-vswitchd vlog/reopen
+       /usr/bin/ovs-appctl -t ovs-brcompatd vlog/reopen
+       /usr/bin/ovs-appctl -t ovsdb-server vlog/reopen
        endscript
 }