Пример #1
0
def start_server():
    logging.info("Starting stoq server")

    stoq_server = StoqServer()
    reactor.callWhenRunning(stoq_server.start)
    reactor.addSystemEventTrigger('before', 'shutdown', stoq_server.stop)
Пример #2
0
def start_server():
    _setup_signal_termination()
    logger.info("Starting stoq server")

    stoq_server = StoqServer()
    stoq_server.run()
Пример #3
0
def start_server():
    _setup_signal_termination()
    logger.info("Starting stoq server")

    stoq_server = StoqServer()
    stoq_server.run()