Commit b1e06c0a authored by 白秀江's avatar 白秀江

更新project-deploy.sh

parent 66b5e961
...@@ -13,7 +13,9 @@ echo $IP ...@@ -13,7 +13,9 @@ echo $IP
# #
function deploy() { function deploy() {
cd $2 cd $2
set -u
sh $2/stop.sh sh $2/stop.sh
set -e
sh $2/start.sh sh $2/start.sh
COUNT=0 COUNT=0
TIMES=0 TIMES=0
......
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