logrotate: Allow logs to be missing
[sliver-openvswitch.git] / xenserver / etc_logrotate.d_vswitch
1 # Copyright (C) 2009 Nicira Networks, Inc.
2 #
3 # Copying and distribution of this file, with or without modification,
4 # are permitted in any medium without royalty provided the copyright
5 # notice and this notice are preserved.  This file is offered as-is,
6 # without warranty of any kind.
7
8 /var/log/ovs-vswitchd.log /var/log/ovs-brcompatd.log {
9         sharedscripts
10         missingok
11         postrotate
12         # Tell ovs-vswitchd and ovs-brcompatd to reopen their log files
13         /sbin/service vswitch reload
14         endscript
15 }