From 7d8d8e93e5336c134903c71ff681876d38ee7423 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Fri, 13 May 2022 11:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=96=87=E4=BB=B6=E5=88=86?= =?UTF-8?q?=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt/api-gateway-prod.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yxt/api-gateway-prod.sh b/yxt/api-gateway-prod.sh index 1714f16..7ea29bf 100644 --- a/yxt/api-gateway-prod.sh +++ b/yxt/api-gateway-prod.sh @@ -5,7 +5,7 @@ set -e dirPath=~/deploy/yxt-prod-api-gateway serverName=yxt_prod_api_gateway -logPath=~/logs/yxt-prod-api-gateway.log +logPath=/data/logs/soap_gateway_prod/soap_gateway_prod.log cmd=$1 profiles=${2:-"prod"} @@ -23,8 +23,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 ./soap-gateway-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=9999 >$logPath 2>&1 & $echoSuffix" - java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./soap-gateway-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=9999 >$logPath 2>&1 & + echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./soap-gateway-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=9999 >>/dev/null 2>&1 & $echoSuffix" + java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./soap-gateway-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=9999 >>/dev/null 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..."