X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Fopenvswitch-controller.init;h=4781f83f2148c747ed5c50f25931ec1165875100;hb=6da1e8091eb2e19de7ba5e0c73ac3e7dd437743d;hp=d489869edc6fd8cce5c3d3f93e31ddc9ce0f7c0b;hpb=366d78fd926e3d7f2b78ec8cf63dbab72fa9c8b7;p=sliver-openvswitch.git diff --git a/debian/openvswitch-controller.init b/debian/openvswitch-controller.init index d489869ed..4781f83f2 100755 --- a/debian/openvswitch-controller.init +++ b/debian/openvswitch-controller.init @@ -175,10 +175,10 @@ force_stop() { if running ; then kill -15 $pid # Is it really dead? - sleep "$DIETIME"s + sleep "$DODTIME" if running ; then kill -9 $pid - sleep "$DIETIME"s + sleep "$DODTIME" if running ; then echo "Cannot kill $NAME (pid=$pid)!" exit 1 @@ -237,7 +237,7 @@ case "$1" in log_daemon_msg "Restarting $DESC" "$NAME" stop_server # Wait some sensible amount, some server need this - [ -n "$DIETIME" ] && sleep $DIETIME + [ -n "$DODTIME" ] && sleep $DODTIME start_server running log_end_msg $?