aboutsummaryrefslogtreecommitdiff
path: root/debian/openvswitch-switch.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openvswitch-switch.logrotate')
-rw-r--r--debian/openvswitch-switch.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/openvswitch-switch.logrotate b/debian/openvswitch-switch.logrotate
new file mode 100644
index 00000000..41394e86
--- /dev/null
+++ b/debian/openvswitch-switch.logrotate
@@ -0,0 +1,11 @@
+/var/log/openvswitch/secchan.log {
+ daily
+ compress
+ create 640 root adm
+ delaycompress
+ missingok
+ rotate 30
+ postrotate
+ ovs-appctl --target /var/run/secchan.pid --reopen
+ endscript
+}