# 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
}