Compare commits

..

2 Commits

Author SHA1 Message Date
440544b0ff commit 2025-07-18 02:25:48 +00:00
74d44f14b1 commit 2025-07-18 02:24:52 +00:00
2 changed files with 1 additions and 0 deletions

0
bin/post-steps.sh Normal file → Executable file
View File

1
bin/pre-steps.sh Normal file → Executable file
View File

@@ -15,6 +15,7 @@ else
cd "$CODE_DIR" || { echo "[ERROR] 进入目录失败"; exit 1; }
fi
# === 停止旧的 Java 应用 ===
pid=$(ps -ef | grep -w java | grep "$JAR_NAME" | grep -v grep | awk '{print $2}')
if [ -z "$pid" ]; then