summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/keystone-all12
1 files changed, 1 insertions, 11 deletions
diff --git a/bin/keystone-all b/bin/keystone-all
index 75bb103a..b38e552b 100755
--- a/bin/keystone-all
+++ b/bin/keystone-all
@@ -87,15 +87,7 @@ if __name__ == '__main__':
if CONF.debug:
CONF.log_opt_values(logging.getLogger(CONF.prog), logging.DEBUG)
- if CONF.config_file:
- paste_config = CONF.config_file[0]
- else:
- paste_config = CONF.find_file('keystone.conf')
- if not paste_config:
- print ("The keystone.conf file could not be found in the "
- "configuration directories.")
- CONF.print_help()
- sys.exit(1)
+ paste_config = config.find_paste_config()
monkeypatch_thread = not CONF.standard_threads
pydev_debug_url = utils.setup_remote_pydev_debug()
@@ -107,8 +99,6 @@ if __name__ == '__main__':
monkeypatch_thread = False
wsgi_server.monkey_patch_eventlet(monkeypatch_thread=monkeypatch_thread)
- options = deploy.appconfig('config:%s' % paste_config)
-
servers = []
servers.append(create_server(paste_config,
'admin',