diff --git a/appspec.yml b/appspec.yml index 9558c33..724d389 100644 --- a/appspec.yml +++ b/appspec.yml @@ -3,11 +3,11 @@ os: linux files: - source: / - destination: /home/ubuntu/meritz + destination: /home/ubuntu/hello overwrite: yes file_exists_behavior: OVERWRITE permissions: - - object: /home/ubuntu/meritz/ + - object: /home/ubuntu/hello/ owner: ubuntu group: ubuntu hooks: diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 15704bf..684573c 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # JAR 파일 경로 설정 -JAR_PATH="/home/ubuntu/meritz/build/libs/hellomeritz-0.0.1-SNAPSHOT.jar" +JAR_PATH="/home/ubuntu/hello/build/libs/hello-0.0.1-SNAPSHOT.jar" # 실행 중인 애플리케이션의 PID 찾기 CURRENT_PID=$(pgrep -f "java -jar $JAR_PATH")