Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cd process #24

Merged
merged 16 commits into from
Jul 10, 2023
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);
}
}
Loading