monitoring
monitoring copied to clipboard
to be compatible with nohup python ... &
Set action to self._shutdown only if the current action is SIG_DFL.