From f687a6ab0ee0c36a00e03a892bd6d6d722a7c079 Mon Sep 17 00:00:00 2001 From: JongKyeong Kim Date: Sun, 7 Jan 2024 23:44:21 +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 --- .idea/workspace.xml | 4 ++-- scripts/deploy.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 8374263..2c70e7c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,7 +5,7 @@ - + diff --git a/scripts/deploy.sh b/scripts/deploy.sh index d5ff7fa..e8446cd 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/server/build/libs/ | grep 'SNAPSHOT.jar' | tail -n 1) -JAR_PATH=$REPOSITORY/server/build/libs/$JAR_NAME +JAR_NAME=$(ls $REPOSITORY/build/libs/ | grep 'SNAPSHOT.jar' | tail -n 1) +JAR_PATH=$REPOSITORY/build/libs/$JAR_NAME CURRENT_PID=$(pgrep -f $APP_NAME)