コード例 #1
0
ファイル: launch.py プロジェクト: magicbill/Hiss
def main():
    """
    In seperate method so it can be called from other modules.
    """
    args = parse_args()
    applyArgs(args)

    connections.init()
    aggregation.stats_init()
    reactor.run()
コード例 #2
0
ファイル: launch.py プロジェクト: chetmancini/Hiss
def main():
    """
    In seperate method so it can be called from other modules.
    """
    args = parse_args()
    applyArgs(args)

    connections.init()
    aggregation.stats_init()
    reactor.run()
コード例 #3
0
ファイル: launch.py プロジェクト: chetmancini/Timber
def main():
    """
    In seperate method so it can be called from other modules.
    """
    args = parse_args()
    applyArgs(args)

    connections.init()
    aggregation.stats_init()

    if not args.timberoff:
        timber.timberRun()
        logger.loggerInit()

    if not args.hissoff:
        gossip.gossipRun()

    if args.timberoff and args.hissoff:
        debug("Nothing to run")
    else:
        reactor.run()