Skip to content
Snippets Groups Projects

fix: gracefully exit on sigterm

Merged pini requested to merge pini-gh/duniter:pini-docker-sigterm into dev

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading