Skip to content

Commit

Permalink
chore: Update run script
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsu4755 committed Jul 10, 2023
1 parent bc40974 commit b2711a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/run_new.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ if [ ! -z ${TARGET_PID} ]; then
sudo kill ${TARGET_PID}
fi

nohup java -jar -Dspring.profiles.active=prod -Dserver.port=${TARGET_PORT} /home/ubuntu/uni-sparkle-deploy/uni-sparkle/build/libs/uni-0.0.1-SNAPSHOT.jar &
nohup java -jar -Dspring.profiles.active=prod -Dserver.port=${TARGET_PORT} /home/ubuntu/uni-sparkle-deploy/uni-sparkle/build/libs/uni-0.0.1-SNAPSHOT.jar >nohup.out 2>&1 </dev/null &
echo "${TARGET_PORT} 로 새로운 서비스를 시작합니다"
exit 0
6 changes: 3 additions & 3 deletions src/main/java/com/universe/uni/UniApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@SpringBootApplication
public class UniApplication {

public static void main(String[] args) {
SpringApplication.run(UniApplication.class, args);
}
public static void main(String[] args) {
SpringApplication.run(UniApplication.class, args);
}
}

0 comments on commit b2711a3

Please sign in to comment.