summaryrefslogtreecommitdiffstats
path: root/testing/openvswitch/ovsdb-server.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/openvswitch/ovsdb-server.initd')
-rw-r--r--testing/openvswitch/ovsdb-server.initd7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/openvswitch/ovsdb-server.initd b/testing/openvswitch/ovsdb-server.initd
index 53c274453..e369da311 100644
--- a/testing/openvswitch/ovsdb-server.initd
+++ b/testing/openvswitch/ovsdb-server.initd
@@ -26,10 +26,15 @@ command_args="
pidfile="/var/run/openvswitch/ovsdb-server.pid"
depend() {
- need localmount
+ need localmount ovsdb-server
+ after bootmisc hwdrivers modules
+ before net
use logger
}
+# ovsdb-server is a hard dependency for ovs-vswitchd (to keep them in sync) - to stop the db only:
+# /etc/init.d/ovsdb-server --nodeps stop |or| rc-service ovsdb-server -- --nodeps stop
+
start_pre() {
checkpath -d "/var/run/openvswitch" -m 0750
}