def run(options): import journal daemon = journal.daemon() daemon.properties().set(options) daemon.serve() return
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()
def run(): import journal app = journal.daemon() return app.run(spawn=True)