Update mw.tpl

This commit is contained in:
dami 2026-04-15 15:41:19 +08:00
parent e062cc4870
commit 9199875c51
1 changed files with 8 additions and 6 deletions

View File

@ -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;;