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