Browse Source

01wms83-test.sh

master
lizw 3 years ago
parent
commit
2455bb7401
  1. 6
      05shengke/01wms83-test.sh

6
05shengke/01wms83-test.sh

@ -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

Loading…
Cancel
Save