From: Justin Pettit Date: Mon, 24 Oct 2011 21:40:58 +0000 (-0700) Subject: debian: Start ovs-monitor-ipsec after ovsdb running. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd9e5b0e583e9d9cdcb66557ded207ed65ff379d;p=openvswitch debian: Start ovs-monitor-ipsec after ovsdb running. 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. --- diff --git a/debian/openvswitch-ipsec.init b/debian/openvswitch-ipsec.init index 17835a5d..125b50f3 100755 --- a/debian/openvswitch-ipsec.init +++ b/debian/openvswitch-ipsec.init @@ -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