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