Skip to content

Register shutdown signal handlers (broken)

Compare
Choose a tag to compare
@easimon easimon released this 19 Apr 13:12
· 350 commits to master since this release

Registers signal handlers for SIGINT (CTRL-C) and SIGTERM, so the docker image exits cleanly on docker stop.

BROKEN, do not use

docker stop sends SIGTERM, not SIGINT, and for some reason I made the app exit 1 for SIGTERM. Fix incoming...