From 11b6f61d3c4619f8737b8e9f4323f45f5c5c39bb Mon Sep 17 00:00:00 2001 From: Tian jianyong <11429339@qq.com> Date: Fri, 17 Oct 2025 11:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=AF=E5=8A=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qaup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qaup.sh b/qaup.sh index b18fea62..f8dfd52a 100755 --- a/qaup.sh +++ b/qaup.sh @@ -45,8 +45,8 @@ start() { echo "正在启动 $APP_NAME..." - # 临时将输出重定向到当前目录的日志文件,以便调试启动问题 - nohup java $JVM_OPTS -jar "$APP_NAME" > startup.log 2>&1 & + # 启动应用(Spring Boot有自己的日志管理机制) + nohup java $JVM_OPTS -jar "$APP_NAME" > /dev/null 2>&1 & # 等待一会儿检查是否启动成功 sleep 2