From c2ff82c7c63a98fb9549cde71bb99554bacb106b Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Thu, 12 May 2022 19:10:37 +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-yn/prod-deploy-api.sh | 6 +++--- yxt-yn/prod-deploy-wms8.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/yxt-yn/prod-deploy-api.sh b/yxt-yn/prod-deploy-api.sh index 132379d..1a27617 100644 --- a/yxt-yn/prod-deploy-api.sh +++ b/yxt-yn/prod-deploy-api.sh @@ -78,7 +78,7 @@ buildCode() { echo "" } -logPath=/home/www/output/wms8_api_prod_nohup.log +logPath=/home/www/logs/wms8_api_prod/wms8_api_prod.log dirPath=/home/www/deploy/wms8_api_prod/wms-biz/wms8-api/build/libs/ serverName=wms8_api_prod @@ -96,8 +96,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 ./wms8-api-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18999 >>$logPath 2>&1 & $echoSuffix" - java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./wms8-api-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18999 >>$logPath 2>&1 & + echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./wms8-api-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18999 >>/dev/null 2>&1 & $echoSuffix" + java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./wms8-api-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18999 >>/dev/null 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..." diff --git a/yxt-yn/prod-deploy-wms8.sh b/yxt-yn/prod-deploy-wms8.sh index aa2613b..e937ab6 100644 --- a/yxt-yn/prod-deploy-wms8.sh +++ b/yxt-yn/prod-deploy-wms8.sh @@ -146,7 +146,7 @@ buildCode() { echo "" } -logPath=/home/www/output/wms8_prod_nohup.log +logPath=/home/www/logs/wms8_prod/wms8_prod.log dirPath=/home/www/deploy/wms8_prod/wms-biz/servo/build/libs/ serverName=wms8_prod @@ -164,8 +164,8 @@ startServer() { if [ -z $pid ];then echo -e "$echoPrefix cd $dirPath../runtime/ $echoSuffix" cd $dirPath../runtime/ - echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18100 >>$logPath 2>&1 & $echoSuffix" - java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18100 >>$logPath 2>&1 & + echo -e "$echoPrefix java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18100 >>/dev/null 2>&1 & $echoSuffix" + java $JAVA_MEM_OPTS $DATABASE_OPTS $JAVA_OPTS_EXT -jar ./servo-0.0.0-SNAPSHOT.jar --spring.profiles.active=global,$profiles --server.port=18100 >>/dev/null 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..."