From 8edbb377073c3223a499cb994248c9ce84365e6f Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Tue, 14 Jun 2022 15:35:08 +0800 Subject: [PATCH] =?UTF-8?q?lmis=20=E5=B9=BF=E8=A5=BF=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt/test-deploy-lims-gx.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/yxt/test-deploy-lims-gx.sh b/yxt/test-deploy-lims-gx.sh index 4de4d2a..a0010c7 100644 --- a/yxt/test-deploy-lims-gx.sh +++ b/yxt/test-deploy-lims-gx.sh @@ -3,13 +3,13 @@ #set -x set -e -gitUrl=ssh://www@122.9.140.63:3022/bot_yxt/yxt_lmis_test.git -dirPath=~/deploy/yxt_lmis -serverName=yxt_lmis -logPath=/data/logs/yxt_lmis_sx/yxt_lmis_sx.log +gitUrl=ssh://www@122.9.140.63:3022/bot_yxt/yxt_lmis_test_gx.git +dirPath=~/deploy/yxt_lmis_gx +serverName=yxt_gx_lmis +logPath=/data/logs/yxt_lmis_gx/yxt_lmis_gx.log cmd=$1 -profiles=${2:-"yxt-sx-test"} +profiles=${2:-"yxt-gx-test"} echoPrefix="\033[36m+" echoSuffix="\033[0m" @@ -66,8 +66,8 @@ startServer() { if [ -z $pid ];then echo -e "$echoPrefix cd $dirPath $echoSuffix" cd $dirPath - echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8082 >>/dev/null 2>&1 & $echoSuffix" - java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8082 >>/dev/null 2>&1 & + echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8083 >>/dev/null 2>&1 & $echoSuffix" + java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./ent-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8083 >>/dev/null 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..." @@ -131,4 +131,4 @@ else fi # lmis 云南测试(广西) -# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt/test-deploy-lims.sh) [cmd profiles] +# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt/test-deploy-lims-gx.sh) [cmd profiles]