def default_handler(self, signum, frame):
self.log.debug("<STR_LIT>".format(signum))<EOL>if signum in self.restart_signals:<EOL><INDENT>self.set_handler(self.handled_signals, self.pseudo_handler)<EOL>self._cleanup()<EOL>os.execl('<STR_LIT>', '<STR_LIT>', * sys.argv)<EOL><DEDENT>elif signum in self.abort_signals:<EOL><INDENT>self.abort(signum)<EOL><DEDENT>elif signum in self.pause_signals:<EOL><INDENT>self.pause(signum)<EOL><DEDENT>elif signum in self.resume_signals:<EOL><INDENT>self.resume(signum)<EOL><DEDENT>elif signum in self.status_signals:<EOL><INDENT>self.status(signum)<EOL><DEDENT>elif signum in self.error_signals:<EOL><INDENT>self.log.error('<STR_LIT>')<EOL>self.abort(signum)<EOL><DEDENT>else:<EOL><INDENT>self.log.error("<STR_LIT>".format(signum))<EOL>raise<EOL><DEDENT>
Default handler, a generic callback method for signal processing