Beispiel #1
0
def run(options):

    import journal
    daemon = journal.daemon()
    daemon.properties().set(options)
    daemon.serve()

    return
Beispiel #2
0
def journald(name=None):

    if name is None:
        name = "journald"

    import journal
    journal.info("journal").activate()
    journal.debug("journal").activate()

    journal.info("journald").activate()
    journal.debug("journald").activate()

    app = journal.daemon(name)
    app.run()
Beispiel #3
0
def journald(name=None):

    if name is None:
        name = "journald"
        
    import journal
    journal.info("journal").activate()
    journal.debug("journal").activate()
    
    journal.info("journald").activate()
    journal.debug("journald").activate()

    app = journal.daemon(name)
    app.run()
Beispiel #4
0
def run():
    import journal

    app = journal.daemon()
    return app.run(spawn=True)
Beispiel #5
0
def run():
    import journal

    app = journal.daemon()
    return app.run(spawn=True)