From 141673020df0a8626e248e4068d8af212ed7baeb Mon Sep 17 00:00:00 2001 From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com> Date: Fri, 24 Jan 2025 13:14:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E7=BD=B2=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E5=92=8C=E9=85=8D=E7=BD=AE=EF=BC=8C=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E5=88=B00.16=E6=9C=8D=E5=8A=A1=E5=99=A8=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 9789525..8dd0b20 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -68,7 +68,7 @@ cd $deploy_path || { echo "Failed to change directory to $deploy_path"; exit 1; # Iterate over the JAR files array for jar in "${jars[@]}"; do echo "Starting $jar" - nohup /usr/lib/jvm/jdk1.8.0_381/bin/java -jar $jar >/dev/null 2>&1 & + nohup java -jar $jar >/dev/null 2>&1 & done echo "All JARs have been run successfully."