[Dev] Add some logs in deployer stop
This commit is contained in:
parent
4af7c48a52
commit
c6373af98c
|
@ -436,6 +436,9 @@ main() (
|
|||
fi
|
||||
pid="$(cat "${deployer_pid}")"
|
||||
rm --force "${deployer_pid}"
|
||||
|
||||
# Kill deployer process.
|
||||
log_info "Kill deployer process with pid '${pid}'."
|
||||
if ! ps -p "${pid}" >/dev/null; then
|
||||
fail "Deployer process with pid='${pid}' is not running." \
|
||||
"${err_deployer_process_not_running}"
|
||||
|
@ -444,6 +447,9 @@ main() (
|
|||
fail "Cannot kill deployer process: ${output}." \
|
||||
"${err_deployer_process_not_killed}"
|
||||
fi
|
||||
|
||||
# Remove deployer sock file.
|
||||
log_info "Remove deployer sock at '${deployer_sock}'."
|
||||
rm --force "${deployer_sock}"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue