diff --git a/src/deployer.sh b/src/deployer.sh index a6efad6..009e60c 100755 --- a/src/deployer.sh +++ b/src/deployer.sh @@ -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