mirror of
https://github.com/openvswitch/ovs
synced 2025-10-15 14:17:18 +00:00
debian: Don't fail ovs-controller restart if daemon not running.
Reported-by: Maxime Brun <m.brun@alphalink.fr> Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -166,6 +166,7 @@ Krishna Miriyala krishna@nicira.com
|
||||
Logan Rosen logatronico@gmail.com
|
||||
Luca Falavigna dktrkranz@debian.org
|
||||
Luiz Henrique Ozaki luiz.ozaki@gmail.com
|
||||
Maxime Brun m.brun@alphalink.fr
|
||||
Michael A. Collins mike.a.collins@ark-net.org
|
||||
Michael Hu mhu@nicira.com
|
||||
Michael Mao mmao@nicira.com
|
||||
|
8
debian/openvswitch-controller.init
vendored
8
debian/openvswitch-controller.init
vendored
@@ -242,9 +242,11 @@ case "$1" in
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
stop_server
|
||||
# Wait some sensible amount, some server need this
|
||||
[ -n "$DODTIME" ] && sleep $DODTIME
|
||||
if running; then
|
||||
stop_server
|
||||
# Wait some sensible amount, some server need this.
|
||||
[ -n "$DODTIME" ] && sleep $DODTIME
|
||||
fi
|
||||
start_server
|
||||
running
|
||||
log_end_msg $?
|
||||
|
Reference in New Issue
Block a user