Skip to content

Commit c65d0c6

Browse files
authored
Update start.sh
1 parent 817c21e commit c65d0c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/start.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22

3-
source ~/.bash_profile
4-
53
ROOT_PATH="/home/ubuntu/Reminiscence-BE"
64
JAR="$ROOT_PATH/build/libs/reminiscence-0.0.1-SNAPSHOT.jar"
75

@@ -10,6 +8,7 @@ ERROR_LOG="$ROOT_PATH/error.log"
108
START_LOG="$ROOT_PATH/start.log"
119

1210
echo "$JAR 실행" >> $START_LOG
11+
source /home/ubuntu/.bash_profile
1312
nohup java -jar $JAR > $APP_LOG 2> $ERROR_LOG &
1413

1514
SERVICE_PID=$(pgrep -f $JAR)

0 commit comments

Comments
 (0)