From 2705e1ca78267e51386c60f2dc32b4f4f0c2d205 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Tue, 22 Nov 2022 21:20:49 +0800 Subject: [PATCH] deploy-lims-report.sh --- yxt-gx/deploy-lims-report.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yxt-gx/deploy-lims-report.sh b/yxt-gx/deploy-lims-report.sh index c67fbc4..b2ace9b 100644 --- a/yxt-gx/deploy-lims-report.sh +++ b/yxt-gx/deploy-lims-report.sh @@ -61,8 +61,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 ./app-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8286 >$logPath 2>&1 & $echoSuffix" - java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./app-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=8286 >$logPath 2>&1 & + echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./app-0.0.0-SNAPSHOT.jar --spring.config.location=./config --spring.profiles.active=global,$profiles --server.port=8286 >$logPath 2>&1 & $echoSuffix" + java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./app-0.0.0-SNAPSHOT.jar --spring.config.location=./config --spring.profiles.active=global,$profiles --server.port=8286 >$logPath 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..."