Skip to content

Commit

Permalink
test : git action test3
Browse files Browse the repository at this point in the history
  • Loading branch information
wnsrl1228 committed May 29, 2024
1 parent 959d4d9 commit 4267457
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions appspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ hooks:
AfterInstall:
- location: scripts/stop.sh
timeout: 60
runas: ubuntu
ApplicationStart:
- location: scripts/start.sh
timeout: 60
runas: ubuntu
timeout: 60
4 changes: 2 additions & 2 deletions scripts/stop.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

PROJECT_ROOT="/home/ubuntu/app"
PROJECT_ROOT="/home/ubuntu/memetitle"
JAR_FILE="$PROJECT_ROOT/memetitle.jar"

DEPLOY_LOG="$PROJECT_ROOT/deploy.log"
Expand All @@ -15,5 +15,5 @@ if [ -z $CURRENT_PID ]; then
echo "$TIME_NOW > 현재 실행중인 애플리케이션이 없습니다" >> $DEPLOY_LOG
else
echo "$TIME_NOW > 실행중인 $CURRENT_PID 애플리케이션 종료 " >> $DEPLOY_LOG
sudo kill -15 $CURRENT_PID
sudo kill -9 $CURRENT_PID
fi

0 comments on commit 4267457

Please sign in to comment.