From: Ian Campbell Date: Wed, 14 Oct 2009 10:38:40 +0000 (+0100) Subject: logrotate: Allow logs to be missing X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d598fb8dcac5abef723e27a42f91e87be27c772;p=openvswitch logrotate: Allow logs to be missing In particular ovs-brcompatd.log is not present if compatibility mode is disabled. Without this logrotate attempts to send email to the administrator. --- diff --git a/xenserver/etc_logrotate.d_openvswitch b/xenserver/etc_logrotate.d_openvswitch index 22aab36a..18eb1925 100644 --- a/xenserver/etc_logrotate.d_openvswitch +++ b/xenserver/etc_logrotate.d_openvswitch @@ -7,6 +7,7 @@ /var/log/openvswitch/* { sharedscripts + missingok postrotate # Tell Open vSwitch daemons to reopen their log files /usr/bin/ovs-appctl -t ovs-vswitchd vlog/reopen