mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update mw.tpl
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user