From 4930af8c0d347e9f29da3c423dafb47d79ee2e48 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Tue, 22 Nov 2022 22:18:46 +0800 Subject: [PATCH] deploy-lims-report.sh --- yxt/deploy-lims-report.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yxt/deploy-lims-report.sh b/yxt/deploy-lims-report.sh index f285dda..190709e 100644 --- a/yxt/deploy-lims-report.sh +++ b/yxt/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=8086 >$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=8086 >$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=8086 >$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=8086 >$logPath 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..."