修改部署脚本和配置,部署到0.16服务器上

This commit is contained in:
weiweiw 2025-01-24 13:14:21 +08:00
parent f027fa6c3f
commit 141673020d
1 changed files with 1 additions and 1 deletions

View File

@ -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."