'module "main" method. Only used by external modules.'

def _main(self):

    self.set_proctitle(self.name)
    if shinken.http_daemon.daemon_inst:
        shinken.http_daemon.daemon_inst.shutdown()
    self.set_signal_handler()
    logger.info('[%s[%d]]:    Now    running..', self.name, os.getpid())
    self.main()
    self.do_stop()
    logger.info('[%s]:    exiting    now..', self.name)
