mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:29:25 +08:00
up
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user