From 1aa3ec8f3fccc6596d2ec33303cd487f1885fbf0 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Thu, 12 May 2022 18:28:04 +0800 Subject: [PATCH] =?UTF-8?q?pre-deploy-wms8.sh=20=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=88=86=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt-yn/pre-deploy-wms8.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yxt-yn/pre-deploy-wms8.sh b/yxt-yn/pre-deploy-wms8.sh index 457ba61..77a5f37 100644 --- a/yxt-yn/pre-deploy-wms8.sh +++ b/yxt-yn/pre-deploy-wms8.sh @@ -146,7 +146,7 @@ buildCode() { echo "" } -logPath=/home/www/output/wms8_pre_nohup.log +logPath=/home/www/logs/ dirPath=/home/www/deploy/wms8_pre/wms-biz/servo/build/libs/ serverName=wms8_pre @@ -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=18095 >>$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=18095 >>$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=18095 >>/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=18095 >>/dev/null 2>&1 & echo "$serverName 启动成功!" else echo "$serverName 正在运行..."