[Dev] Remove pid file in deployer stop
This commit is contained in:
parent
5f73a1d0ed
commit
e31ef119eb
|
@ -446,6 +446,7 @@ main() (
|
||||||
"${err_deployer_pid_not_readable}"
|
"${err_deployer_pid_not_readable}"
|
||||||
fi
|
fi
|
||||||
pid="$(cat "${deployer_pid}")"
|
pid="$(cat "${deployer_pid}")"
|
||||||
|
rm --force "${deployer_pid}"
|
||||||
if ! ps -p "${pid}"; then
|
if ! ps -p "${pid}"; then
|
||||||
fail "Deployer process with pid='${pid}' is not running." \
|
fail "Deployer process with pid='${pid}' is not running." \
|
||||||
"${err_deployer_process_not_running}"
|
"${err_deployer_process_not_running}"
|
||||||
|
|
Loading…
Reference in New Issue