From 1b0ef39d51dcb5f3d21c5038cfbf142de108ad36 Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Thu, 7 Jul 2011 14:13:02 -0500 Subject: ** keystone.conf refactoring ** Added support for exthandler Added admin pipeline Moved public/admin host/port configs in support of pipeline configuration --- bin/keystone-auth | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bin/keystone-auth') diff --git a/bin/keystone-auth b/bin/keystone-auth index 4ac26b33..368872b4 100755 --- a/bin/keystone-auth +++ b/bin/keystone-auth @@ -54,6 +54,7 @@ if __name__ == '__main__': try: # Load Service API server conf, app = config.load_paste_app('keystone-legacy-auth', options, args) + debug = options.get('debug') or conf.get('debug', False) debug = debug in [True, "True", "1"] verbose = options.get('verbose') or conf.get('verbose', False) @@ -63,10 +64,11 @@ if __name__ == '__main__': print "Using config file:", config_file server = wsgi.Server() - server.start(app, int(conf['server_bind_port']), - conf['server_bind_host']) - print "Service API listening on %s:%s" % (conf['server_bind_host'], - conf['server_bind_port']) + server.start(app, int(conf['public_port']), conf['public_host']) + + print "Service API listening on %s:%s" % ( + conf['public_host'], conf['public_port']) + server.wait() except RuntimeError, e: sys.exit("ERROR: %s" % e) -- cgit