This commit is contained in:
midoks
2022-11-11 19:06:32 +08:00
parent c35ee90068
commit d377286de3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -87,14 +87,14 @@ cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh
cd /www/server/mdserver-web && bash cli.sh start
isStart=`ps -ef|grep 'gunicorn -c setting.py app:app' |grep -v grep|awk '{print $2}'`
n=0
while [[ ! -f /etc/rc.d/init.d/mw ]];
while [ ! -f /etc/rc.d/init.d/mw ];
do
echo -e ".\c"
sleep 1
let n+=1
if [ $n -gt 20 ];then
echo -e "start mw fail"
exit 1
exit 1
fi
done
+1 -1
View File
@@ -77,7 +77,7 @@ cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh
cd /www/server/mdserver-web && bash cli.sh start
isStart=`ps -ef|grep 'gunicorn -c setting.py app:app' |grep -v grep|awk '{print $2}'`
n=0
while [[ ! -f /etc/rc.d/init.d/mw ]];
while [ ! -f /etc/rc.d/init.d/mw ];
do
echo -e ".\c"
sleep 1