Compare commits
2 Commits
9e060c0e80
...
440544b0ff
Author | SHA1 | Date | |
---|---|---|---|
440544b0ff | |||
74d44f14b1 |
0
bin/post-steps.sh
Normal file → Executable file
0
bin/post-steps.sh
Normal file → Executable file
1
bin/pre-steps.sh
Normal file → Executable file
1
bin/pre-steps.sh
Normal file → Executable 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
|
||||
|
Reference in New Issue
Block a user