We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 817c21e commit c65d0c6Copy full SHA for c65d0c6
scripts/start.sh
@@ -1,7 +1,5 @@
1
#!/bin/bash
2
3
-source ~/.bash_profile
4
-
5
ROOT_PATH="/home/ubuntu/Reminiscence-BE"
6
JAR="$ROOT_PATH/build/libs/reminiscence-0.0.1-SNAPSHOT.jar"
7
@@ -10,6 +8,7 @@ ERROR_LOG="$ROOT_PATH/error.log"
10
8
START_LOG="$ROOT_PATH/start.log"
11
9
12
echo "$JAR 실행" >> $START_LOG
+source /home/ubuntu/.bash_profile
13
nohup java -jar $JAR > $APP_LOG 2> $ERROR_LOG &
14
15
SERVICE_PID=$(pgrep -f $JAR)
0 commit comments