|
@@ -164,7 +164,7 @@ deployServer() {
|
|
|
start=$2
|
|
|
deployPull
|
|
|
buildCode
|
|
|
- echo "###--代码构建完成--------------------------------------------------------------------------### ($pid)"
|
|
|
+ echo "###--代码构建完成--------------------------------------------------------------------------###"
|
|
|
# 停止服务
|
|
|
if [ ! -z $pid ];then
|
|
|
stopServer $pid
|
|
@@ -212,10 +212,10 @@ if [ "$cmd" == "pull" ];then
|
|
|
fi
|
|
|
elif [ "$cmd" == "build" ];then
|
|
|
deployYvanUI
|
|
|
- deployServer $pid "no_start"
|
|
|
+ deployServer "$pid" "no_start"
|
|
|
elif [ "$cmd" == "deploy" ];then
|
|
|
deployYvanUI
|
|
|
- deployServer $pid "start"
|
|
|
+ deployServer "$pid" "start"
|
|
|
elif [ "$cmd" == "restart" ];then
|
|
|
restartServer $pid
|
|
|
elif [ "$cmd" == "start" ];then
|