fix: gracefully exit on sigterm
The purpose is to avoid duniter database corruption on docker stop
.
Before that sigterm was ignored, causing docker instance being force-killed
on docker stop
command after the related timeout expiration.
Exerpt from the docker stop
manpage:
The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL
Merge request reports
Activity
Filter activity
requested review from @moul
assigned to @pini-gh
added 7 commits
-
84eef2b1...f1ba995a - 5 commits from branch
nodes/typescript:dev
- 0d315c01 - chore: stick to POSIX syntax for docker entrypoint
- 00129b2b - fix: gracefully exit on sigterm
-
84eef2b1...f1ba995a - 5 commits from branch
added 4 commits
-
00129b2b...6b33b8ab - 2 commits from branch
nodes/typescript:dev
- 5ac8d6e3 - chore: stick to POSIX syntax for docker entrypoint
- 677b8163 - fix: gracefully exit on sigterm
-
00129b2b...6b33b8ab - 2 commits from branch
enabled an automatic merge when the pipeline for 677b8163 succeeds
mentioned in commit 5311dd56
Please register or sign in to reply