diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 3f518413e..fd6933956 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -759,7 +759,9 @@ case "$1" in 'stop') mw_stop;; 'reload') mw_reload;; 'restart') - mw_stop && sleep 2 && mw_start + mw_stop + sleep 2 + mw_start # (mw_stop && sleep 2 && mw_start) > /dev/null 2>&1 & # echo "restarting mw service in background..." # echo "please check service status later."