debian: ovs-monitor-ipsec has a stale init script.
authorEthan Jackson <ethan@nicira.com>
Tue, 4 Oct 2011 21:52:00 +0000 (14:52 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 5 Oct 2011 22:38:16 +0000 (15:38 -0700)
The ovs-monitor-ipsec init script used the old "pidfile-name"
instead of the new "pidfile" option.  This should cause it to fail
when starting.

This patch also causes ovs-monitor-ipsec to create a log file.

debian/openvswitch-ipsec.init

index 61a1101b46230f81dc3c51cb568eafa0c30a93fb..17835a5decf5c2e12b3b4731dade74ecf3c7bbca 100755 (executable)
@@ -74,7 +74,7 @@ start_server() {
     fi
 
     /usr/share/openvswitch/scripts/ovs-monitor-ipsec \
-           --pidfile-name=$PIDFILE --detach --monitor \
+           --pidfile=$PIDFILE --log-file --detach --monitor \
            unix:/var/run/openvswitch/db.sock
 
     return 0