忽略部署脚本defunct进程
This commit is contained in:
@@ -132,7 +132,7 @@ deploy_frontend_dist() {
|
||||
|
||||
collect_backend_pids() {
|
||||
ps -ef | awk -v marker="$BACKEND_MARKER" -v jar="$BACKEND_JAR_TARGET" '
|
||||
index($0, marker) > 0 && index($0, jar) > 0 {print $2}
|
||||
index($0, "<defunct>") == 0 && index($0, marker) > 0 && index($0, jar) > 0 {print $2}
|
||||
' | xargs 2>/dev/null || true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user