Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.
[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 {
9         sharedscripts
10         postrotate
11         # Send sighup to vswitch which will cause it to reopen its log files.
12         /sbin/service vswitch reload
13         endscript
14 }