From fd9a4501e70f59be8308fe7811ba4b75127a09b8 Mon Sep 17 00:00:00 2001 From: JongKyeong Kim Date: Mon, 8 Jan 2024 12:01:39 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=B0=EB=B0=B0=EB=B1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/deploy.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 480a6db..244db52 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash -REPOSITORY=/home/ubuntu/GLOG/server +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 +APP_NAME=glog +JAR_NAME=$(ls $REPOSITORY/server/build/libs/ | grep 'SNAPSHOT.jar' | tail -n 1) +JAR_PATH=$REPOSITORY/server/build/libs/$JAR_NAME CURRENT_PID=$(pgrep -f $APP_NAME)