Update mw.tpl

This commit is contained in:
dami 2025-07-22 18:06:15 +08:00
parent c64b03135c
commit f05efd1693
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ mw_start_panel()
echo -e ".\c"
sleep 0.5
isStart=$(lsof -n -P -i:$port|grep LISTEN|grep -v grep|awk '{print $2}'|xargs)
if [[ "$isStart" == "" ]];then
isStart=$(ps -ef|grep python3|grep mdserver-web|grep app:app|awk '{print $2}'|xargs)
fi
let n+=1
if [ $n -gt 60 ];then
break;