Python: What is the default handling of SIGTERM?
Building on the answer of Thomas Wouters, python does not register a handler for the SIGTERM signal. We can see this by doing: In[23]: signal.SIG_DFL == signal.signal(signal.SIGTERM,signal.SIG_DFL) Out[23]: True That means that the system will take the default action. On linux, the default action (according to the signal man page) for a SIGTERM is to … Read more