From: Justin Pettit Date: Fri, 18 Dec 2009 22:40:12 +0000 (-0800) Subject: xenserver: Use ovs-appctl to reopen log files X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f1bfcfe29a4dd09afbcef22dbb66da3e1d979d9;p=openvswitch xenserver: Use ovs-appctl to reopen log files During the changes to use the configuration database the "reload" command was removed from the init script. In addition to reloading the configuration file, binaries also reopened their log files, which is the behavior the logrotate configuration expected. This change makes the logrotate configuration no longer user the "reload" command. --- diff --git a/xenserver/etc_logrotate.d_vswitch b/xenserver/etc_logrotate.d_vswitch index 6366c675..d6f71afb 100644 --- a/xenserver/etc_logrotate.d_vswitch +++ b/xenserver/etc_logrotate.d_vswitch @@ -9,6 +9,8 @@ sharedscripts postrotate # Tell ovs-vswitchd and ovs-brcompatd to reopen their log files - /sbin/service vswitch reload + /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 }