From 100470c364f346f282d7ea5ad3a4fe995ef6a9a8 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Fri, 13 May 2022 11:15:45 +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.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yxt/api-gateway.sh b/yxt/api-gateway.sh index 10cde69..2fc80d5 100644 --- a/yxt/api-gateway.sh +++ b/yxt/api-gateway.sh @@ -5,7 +5,7 @@ set -e dirPath=~/deploy/yxt-api-gateway serverName=yxt_api_gateway -logPath=~/logs/yxt-api-gateway.log +logPath=/data/logs/soap_gateway_test/soap_gateway_test.log cmd=$1 profiles=${2:-"dev"} @@ -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=9000 >$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=9000 >$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=9000 >>/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=9000 >>/dev/null 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..."