From: Ben Pfaff Date: Fri, 31 Oct 2008 20:43:33 +0000 (-0700) Subject: Implement log rotation in openflow-switch. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5a450947412b9bca56bfff1b23c3a78d4417630;p=openvswitch Implement log rotation in openflow-switch. --- diff --git a/debian/openflow-switch.logrotate b/debian/openflow-switch.logrotate new file mode 100644 index 00000000..6506e325 --- /dev/null +++ b/debian/openflow-switch.logrotate @@ -0,0 +1,11 @@ +/var/log/openflow/secchan.log { + daily + compress + create 640 root adm + delaycompress + missingok + rotate 30 + postrotate + vlogconf --reopen /var/run/secchan.pid + endscript +} diff --git a/debian/rules b/debian/rules index cfcfbdb3..2ef865b9 100755 --- a/debian/rules +++ b/debian/rules @@ -131,7 +131,7 @@ binary-common: dh_installdocs dh_installexamples dh_installdebconf -# dh_installlogrotate + dh_installlogrotate dh_installinit dh_installman dh_link