From 9199875c51b10bbd642f8a7eb012691ad0fa2ccc Mon Sep 17 00:00:00 2001 From: dami Date: Wed, 15 Apr 2026 15:41:19 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 3708022d4..3f518413e 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -765,14 +765,16 @@ case "$1" in # echo "please check service status later." mw_default;; 'restart_panel') - (mw_stop_panel && sleep 2 && mw_start_panel) > /dev/null 2>&1 & - echo "restarting mw-panel service in background..." - echo "please check service status later." + mw_stop_panel && sleep 2 && mw_start_panel + # (mw_stop_panel && sleep 2 && mw_start_panel) > /dev/null 2>&1 & + # echo "restarting mw-panel service in background..." + # echo "please check service status later." mw_default;; 'restart_task') - (mw_stop_task && sleep 2 && mw_start_task) > /dev/null 2>&1 & - echo "restarting mw-task service in background..." - echo "please check service status later." + mw_stop_task && sleep 2 && mw_start_task + # (mw_stop_task && sleep 2 && mw_start_task) > /dev/null 2>&1 & + # echo "restarting mw-task service in background..." + # echo "please check service status later." mw_default;; 'status') mw_status;; 'logs') error_logs;;