From: Ian Campbell Date: Wed, 14 Oct 2009 10:38:40 +0000 (+0100) Subject: logrotate: Allow logs to be missing X-Git-Tag: v1.0.0~217 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0d598fb8dcac5abef723e27a42f91e87be27c772;p=sliver-openvswitch.git 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 22aab36ae..18eb19251 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