From f0581f5038e969e90a52dced5ea2a68bf5c2b46a Mon Sep 17 00:00:00 2001 From: dami Date: Wed, 15 Apr 2026 16:27:42 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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."