diff --git a/scripts/build-and-run-new-application.sh b/scripts/build-and-run-new-application.sh index 36ac6e6..31f67cd 100644 --- a/scripts/build-and-run-new-application.sh +++ b/scripts/build-and-run-new-application.sh @@ -2,4 +2,4 @@ PROJECT_PATH=/home/ubuntu/Qtudy-BE BUILD_PATH=$PROJECT_PATH/build/libs BUILD_JAR=$BUILD_PATH/Qtudy-server-0.0.1-SNAPSHOT.jar -nohup java -jar $BUILD_JAR --spring.profiles.active=stage & +nohup java -jar $BUILD_JAR --spring.profiles.active=stage /dev/null 2> /dev/null < /dev/null &