From 1dfdf8da284c92c7cf4f63a3ca63d17efdedcfe9 Mon Sep 17 00:00:00 2001 From: JongKyeong Kim Date: Sun, 7 Jan 2024 23:46:28 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=B0=ED=8F=AC=EB=B0=B0=ED=8F=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index e8446cd..02f005a 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -4,8 +4,8 @@ REPOSITORY=/home/ubuntu/GLOG cd $REPOSITORY APP_NAME=GLOG -JAR_NAME=$(ls $REPOSITORY/build/libs/ | grep 'SNAPSHOT.jar' | tail -n 1) -JAR_PATH=$REPOSITORY/build/libs/$JAR_NAME +JAR_NAME=$(ls $REPOSITORY/server/build/libs/ | grep 'Glog-0.0.1-SNAPSHOT.jar' | tail -n 1) +JAR_PATH=$REPOSITORY/server/build/libs/$JAR_NAME CURRENT_PID=$(pgrep -f $APP_NAME)