Termination signals

Based on this comment (https://github.com/drone/drone/issues/2189#issuecomment-327017098), SIGINT is definitely supported.

How about SIGTERM?

In Kubernetes, container termination is signaled with SIGTERM for graceful handling (no SIGINT unfortunately). It is the preferred way to signal processes to exit after all (https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html).

We can do that with a quick code change. Can you create an issue so that I remember to patch? :slight_smile:

Done! I would have sent a PR but I couldn’t find where it was in the code.