Update mw.tpl

pull/883/head
dami 1 month ago
parent 930eb14a8a
commit f17447b2f1
  1. 18
      scripts/init.d/mw.tpl

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

Loading…
Cancel
Save