Skip to content

Commit

Permalink
fix some case where sigterm received before dockerd starts (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
roi-codefresh authored Mar 28, 2023
1 parent 22093b0 commit 5ba8fa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,6 @@ if [[ -z "${DISABLE_CLEANER_AGENT}" && -z "${SIGTERM}" ]]; then
fi

DOCKERD_PID=$(cat /var/run/docker.pid)
echo "DOCKERD_PID = ${DOCKERD_PID} "
echo "DOCKERD_PID = ${DOCKERD_PID}"
[[ -n "${SIGTERM}" ]] && kill $DOCKERD_PID
wait ${DOCKERD_PID}
2 changes: 1 addition & 1 deletion service.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 1.25.5
version: 1.25.6

0 comments on commit 5ba8fa4

Please sign in to comment.