I am intercepting the signal for the exit routine. I need to know the specific one so that I can use the other one for killing python multi-process. I will post my result here if I have to test it tomorrow.
Just a reminder, SIGKILL cannot be intercepted by any signal handler. (It wouldn’t be a very good SIGKILL if you could!)
Down sends a TERM signal and then a CONT signal. We use djb’s daemontools under the hood.