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

更新project-deploy.sh

parent b99f34d3
......@@ -3,11 +3,12 @@ cd `dirname $0`
BIN_DIR=`pwd`
DEPLOY_DIR=`pwd`
#
# $1 方法名
# $2 程序目录
# $1 方法名 deploy 发布项目
# $2 项目目录
# $3 检查的url
#
function deploy() {
$2/restart.sh
COUNT=0
TIMES=0
......@@ -24,10 +25,16 @@ function deploy() {
fi
done
}
#
# $1 方法名 检查项目环境
# $2 项目目录
#
function check() {
}
echo call $1
case $1 in
deploy)
deploy $*
......
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