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 6506e32534175c22b1b56d6278d70dbb5b55ee84..b2136907ad5ba85c7a417a953677e639c7a6752a 100644 (file)
@@ -6,6 +6,6 @@
         missingok
         rotate 30
         postrotate
-                vlogconf --reopen /var/run/secchan.pid
+                vlogconf --target /var/run/secchan.pid --reopen
         endscript
 }