Fix openflow-switch log rotation.
authorBen Pfaff <blp@nicira.com>
Wed, 5 Nov 2008 00:13:42 +0000 (16:13 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 5 Nov 2008 00:14:00 +0000 (16:14 -0800)
The vlogconf command syntax was wrong.  The pidfile also didn't contain
the right pid (which was fixed in the previous commit).

debian/openflow-switch.logrotate

index 6506e32..b213690 100644 (file)
@@ -6,6 +6,6 @@
         missingok
         rotate 30
         postrotate
-                vlogconf --reopen /var/run/secchan.pid
+                vlogconf --target /var/run/secchan.pid --reopen
         endscript
 }