summaryrefslogtreecommitdiffstats
path: root/bin/keystone-auth
diff options
context:
space:
mode:
authorZiad Sawalha <ziad.sawalha@rackspace.com>2011-07-08 14:06:49 -0700
committerZiad Sawalha <ziad.sawalha@rackspace.com>2011-07-08 14:06:49 -0700
commitebe8e255ac42c07da7bfc44fd19c1f052d3f8853 (patch)
tree6523f26ec7c2a41de525d97ff3ae3f97e12dbde3 /bin/keystone-auth
parent9528697d2fcfbe9b7ba1d445280d10dc4c8e1e8d (diff)
parent418a9e5913fe25fb4c5e704655d2497da3bc5d41 (diff)
Merge pull request #82 from dolph/master
Global fixes for issues #33 and #65
Diffstat (limited to 'bin/keystone-auth')
-rwxr-xr-xbin/keystone-auth10
1 files changed, 6 insertions, 4 deletions
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)