debian: Start ovs-monitor-ipsec after ovsdb running.
authorJustin Pettit <jpettit@nicira.com>
Mon, 24 Oct 2011 21:40:58 +0000 (14:40 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 25 Oct 2011 19:39:51 +0000 (12:39 -0700)
ovs-monitor-ipsec uses the OVS database to get configuration, so don't
bother starting the daemon until it's up.

Debian recently switched to using the LSB fields in the header of init
scripts to allow dependency-based boots.  This is described in the
following page:

    http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot

This commit makes use of those fields to get the ordering we want.

debian/openvswitch-ipsec.init

index 61a1101..b94521f 100755 (executable)
@@ -19,7 +19,7 @@
 #
 ### BEGIN INIT INFO
 # Provides:          openvswitch-ipsec
-# Required-Start:    $network $local_fs $remote_fs
+# Required-Start:    $network $local_fs $remote_fs openvswitch-switch
 # Required-Stop:     $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6