Update mw.tpl

This commit is contained in:
dami
2026-04-14 18:11:18 +08:00
parent 930eb14a8a
commit f17447b2f1
+9 -9
View File
@@ -759,17 +759,17 @@ case "$1" in
'stop') mw_stop;;
'reload') mw_reload;;
'restart')
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.";;
'restart_panel')
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.";;
'restart_task')
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.";;
'status') mw_status;;
'logs') error_logs;;
'close') mw_close;;