def main(): config.parse_args(sys.argv) logging.setup(CONF, "ec2api") server = service.WSGIService('metadata') service.serve(server, workers=server.workers) service.wait()
def main(): config.parse_args(sys.argv) logging.setup(CONF, "ec2api") server = service.WSGIService("ec2api", max_url_len=16384) service.serve(server, workers=server.workers) service.wait()
def main(): config.parse_args(sys.argv) logging.setup(config.CONF, "ec2api") server = s3server.get_wsgi_server() service.serve(server) service.wait()
def main(): config.parse_args(sys.argv) logging.setup(CONF, 'ec2api') server = service.WSGIService('ec2api', max_url_len=16384) service.serve(server) service.wait()