Commit 3933f2da authored by 白秀江's avatar 白秀江

更新project-deploy.sh

parent a376aadc
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
cd `dirname $0` cd `dirname $0`
BIN_DIR=`pwd` BIN_DIR=`pwd`
DEPLOY_DIR=`pwd` DEPLOY_DIR=`pwd`
./restart.sh $1/restart.sh
COUNT=0 COUNT=0
TIMES=0 TIMES=0
while [ $COUNT -lt 1 ]; do while [ $COUNT -lt 1 ]; do
echo -e ".\c" echo -e ".\c"
sleep 1 sleep 1
COUNT=`curl -v $1 | grep $2 | wc -l` COUNT=`curl -v $2 | grep "success" | wc -l`
if [ $COUNT -gt 0 ]; then if [ $COUNT -gt 0 ]; then
break break
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment