Compare commits
2 Commits
440544b0ff
...
9e060c0e80
Author | SHA1 | Date | |
---|---|---|---|
9e060c0e80 | |||
e89ebd62b8 |
0
bin/post-steps.sh
Executable file → Normal file
0
bin/post-steps.sh
Executable file → Normal file
1
bin/pre-steps.sh
Executable file → Normal file
1
bin/pre-steps.sh
Executable file → Normal file
@@ -15,7 +15,6 @@ 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