From e244d477e20f413b320462c45ec4dcb09de28189 Mon Sep 17 00:00:00 2001 From: dami Date: Wed, 15 Apr 2026 17:08:47 +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 880e5c9b6..1b6331151 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