From: Ian Campbell Date: Wed, 14 Oct 2009 10:38:40 +0000 (+0100) Subject: logrotate: Allow logs to be missing X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5379a7d3faa54dde285d5f026a15f4b1d91ed1c8;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_vswitch b/xenserver/etc_logrotate.d_vswitch index 6366c6758..3186e1056 100644 --- a/xenserver/etc_logrotate.d_vswitch +++ b/xenserver/etc_logrotate.d_vswitch @@ -7,6 +7,7 @@ /var/log/ovs-vswitchd.log /var/log/ovs-brcompatd.log { sharedscripts + missingok postrotate # Tell ovs-vswitchd and ovs-brcompatd to reopen their log files /sbin/service vswitch reload