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:21:54 +0000 (12:21 -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 17835a5decf5c2e12b3b4731dade74ecf3c7bbca..125b50f31e7860a110dd786d39351300a143fe12 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