From 287bbd39ca940ec15df02a822fbc8761db2908ce Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Thu, 10 Aug 2023 11:53:04 +0800 Subject: [PATCH] 06api-test-d300.sh 07wms-test-d100.sh --- yxt-db-pg/07wms-test-d100.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/yxt-db-pg/07wms-test-d100.sh b/yxt-db-pg/07wms-test-d100.sh index 019bc69..b01e870 100644 --- a/yxt-db-pg/07wms-test-d100.sh +++ b/yxt-db-pg/07wms-test-d100.sh @@ -2,7 +2,7 @@ #set -x set -e -codePath=/home/www/deploy/wms8_test_d100 +codePath=/home/www/deploy/wms8_test_d300 gitUrlArr=( "http://git.galaxis.yvanui.com/wms8/wms8-bench.git" "http://git.galaxis.yvanui.com/wms8/wms-core.git" @@ -109,12 +109,12 @@ buildCode() { echo "" } -logPath=/data/logs/wms8_test_d100/wms8_test_d100.log -dirPath=/home/www/deploy/wms8_test_d100/wms-biz/servo/build/libs/ -serverName=wms8_test_d100 +logPath=/data/logs/wms8_test_d300/wms8_test_d300.log +dirPath=/home/www/deploy/wms8_test_d300/wms-biz/servo/build/libs/ +serverName=wms8_test_d300 cmd=$1 -profiles=${2:-"pg-test-d100"} +profiles=${2:-"pg-test-d300"} #------------------------------------------------------------------- JAVA_MEM_OPTS=" -DappName=${serverName} -server -Xmx4g -Xms4g" @@ -127,8 +127,8 @@ startServer() { if [ -z $pid ];then echo -e "$echoPrefix cd $dirPath../runtime/ $echoSuffix" cd $dirPath../runtime/ - echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8100 >>/dev/null 2>&1 & $echoSuffix" - java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8100 >>/dev/null 2>&1 & + echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8300 >>/dev/null 2>&1 & $echoSuffix" + java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8300 >>/dev/null 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..." @@ -230,4 +230,4 @@ else fi # 一心堂 测试 10.0.42.210 -# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt-db-pg/07wms-test-d100.sh) [cmd profiles] +# bash <(curl -s http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/yxt-db-pg/07wms-test-d300.sh) [cmd profiles]