Skip to content

Commit

Permalink
🔨Chore: classpath 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jiinkyung committed Feb 17, 2024
1 parent 02ecf90 commit 9d7980b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cp $PROJECT_ROOT/build/libs/*.jar $JAR_FILE
echo "$TIME_NOW > $JAR_FILE 파일 실행" >> $DEPLOY_LOG

nohup sudo java -jar \
-Dspring.config.location=/home/ubuntu/app/application.yml, /home/ubuntu/app/application-jwt, /home/ubuntu/app/application-oauth.yml \
-Dspring.config.location=/home/ubuntu/app/application.yml, classpath:/application-jwt, classpath:/application-oauth.yml \
-Duser.timezone=Asia/Seoul\
$JAR_FILE > $APP_LOG 2> $ERROR_LOG &

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@Slf4j
@Configuration
@Getter
@PropertySource(value = "classpath:application-jwt.yml")
@PropertySource("classpath:/application-jwt.yml")
public class TokenProvider {


Expand Down

0 comments on commit 9d7980b

Please sign in to comment.