From 877b1dacf86487f8812820e07aeb94bdf7dec335 Mon Sep 17 00:00:00 2001 From: dami Date: Wed, 15 Apr 2026 16:28:58 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 8a38bf577..0347d3d8b 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -45,7 +45,7 @@ mw_start_panel() isStart=`ps -ef|grep 'gunicorn -c setting.py app:app' |grep -v grep|awk '{print $2}'` if [ "$isStart" == '' ];then echo -e "starting mw-panel... \c" - cd ${PANEL_DIR}/web && gunicorn -c setting.py app:app + cd ${PANEL_DIR}/web && gunicorn -c setting.py app:app & port=$(cat ${PANEL_DIR}/data/port.pl) isStart="" n=0