X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xenserver%2Fetc_logrotate.d_vswitch;h=d6f71afb204d03f519345b89991c5f27c8f048fc;hb=3b1acc9955fa9c595f6b9e41999aa40041c7b049;hp=dae235bd570da291b62130cac4aad1012d827227;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/xenserver/etc_logrotate.d_vswitch b/xenserver/etc_logrotate.d_vswitch index dae235bd..d6f71afb 100644 --- a/xenserver/etc_logrotate.d_vswitch +++ b/xenserver/etc_logrotate.d_vswitch @@ -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 }