Skip to content
Snippets Groups Projects
Commit 677b8163 authored by Gilles Filippini's avatar Gilles Filippini Committed by pini
Browse files

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
parent 5ac8d6e3
No related branches found
No related tags found
1 merge request!1410fix: gracefully exit on sigterm
Pipeline #19135 passed