github-webhook
github-webhook copied to clipboard
SIGTERM not handled
I run github-webhook as PID 1 inside a Docker container and the process does not terminate cleanly when it receives a SIGTERM. If I understand well node forwards the signals it receives, which makes me assume github-webhook does not handle them properly.
As a result the container is killed after a timeout (30sec in my infrastructure).
More about the subject: https://github.com/nodejs/node-v0.x-archive/issues/9131#issuecomment-72900581