def main(): service.prepare_service() srv = app.build_server() srv.serve_forever()
def main(): service.prepare_service(sys.argv) CONF.command.func()