From 5bf570bfa7cf38411314ed86eca5cb2cef3d263e Mon Sep 17 00:00:00 2001 From: imuge Date: Wed, 22 Sep 2021 21:09:10 +0800 Subject: [PATCH] update shutdown script --- deploy/deploy-gateway/src/main/resources/scripts/shutdown.sh | 5 +---- .../deploy-peer/src/main/resources/scripts/peer-shutdown.sh | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/deploy/deploy-gateway/src/main/resources/scripts/shutdown.sh b/deploy/deploy-gateway/src/main/resources/scripts/shutdown.sh index 2a39f249..43f32150 100644 --- a/deploy/deploy-gateway/src/main/resources/scripts/shutdown.sh +++ b/deploy/deploy-gateway/src/main/resources/scripts/shutdown.sh @@ -1,7 +1,7 @@ #!/bin/bash #定义程序启动的Jar包前缀 -APP_JAR_PREFIX=deploy-gateway- +APP_JAR=deploy-gateway- #获取当前的根目录 APP_HOME=$(cd `dirname $0`;cd ../; pwd) @@ -9,9 +9,6 @@ APP_HOME=$(cd `dirname $0`;cd ../; pwd) #System路径 APP_LIB_PATH=$APP_HOME/lib -#获取Peer节点的启动Jar包 -APP_JAR=$(ls $APP_LIB_PATH | grep $APP_JAR_PREFIX) - #APP_JAR的具体路径 APP_JAR_PATH=$APP_LIB_PATH/$APP_JAR diff --git a/deploy/deploy-peer/src/main/resources/scripts/peer-shutdown.sh b/deploy/deploy-peer/src/main/resources/scripts/peer-shutdown.sh index 968eb61b..2ad8dad7 100644 --- a/deploy/deploy-peer/src/main/resources/scripts/peer-shutdown.sh +++ b/deploy/deploy-peer/src/main/resources/scripts/peer-shutdown.sh @@ -1,7 +1,7 @@ #!/bin/bash #定义程序启动的Jar包前缀 -APP_JAR_PREFIX=deploy-peer- +APP_JAR=deploy-peer- #获取当前的根目录 APP_HOME=$(cd `dirname $0`;cd ../; pwd) @@ -9,9 +9,6 @@ APP_HOME=$(cd `dirname $0`;cd ../; pwd) #System路径 APP_SYSTEM_PATH=$APP_HOME/system -#获取Peer节点的启动Jar包 -APP_JAR=$(ls $APP_SYSTEM_PATH | grep $APP_JAR_PREFIX) - #APP_JAR的具体路径 APP_JAR_PATH=$APP_SYSTEM_PATH/$APP_JAR