Beispiel #1
0
def main():
    conf.initialize_settings()
    log_file = conf.settings.get_log_filename()
    log_support.configure_logging(log_file, console=True)
    app = LBRYDaemonApp.sharedApplication()
    reactor.addSystemEventTrigger("after", "shutdown", shutdown)
    reactor.run()
Beispiel #2
0
def main():
    conf.update_settings_from_file()
    log_file = conf.settings.get_log_filename()
    log_support.configure_logging(log_file, console=True)
    app = LBRYDaemonApp.sharedApplication()
    reactor.addSystemEventTrigger("after", "shutdown", shutdown)
    reactor.run()
Beispiel #3
0
def main():
    app = LBRYDaemonApp.sharedApplication()
    AppHelper.runEventLoop()
Beispiel #4
0
def main():
    app = LBRYDaemonApp.sharedApplication()
    reactor.addSystemEventTrigger("after", "shutdown", AppHelper.stopEventLoop)
    reactor.run()