diff options
Diffstat (limited to 'testing/openvswitch/ovsdb-server.initd')
-rw-r--r-- | testing/openvswitch/ovsdb-server.initd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/openvswitch/ovsdb-server.initd b/testing/openvswitch/ovsdb-server.initd index 53c2744539..e369da3116 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 } |