Merge "Enable cmd/api & cmd/conductor to be launched directly"

This commit is contained in:
Jenkins 2015-10-20 17:13:22 +00:00 committed by Gerrit Code Review
commit 9c6a85afd1
2 changed files with 8 additions and 0 deletions

View File

@ -64,3 +64,7 @@ def main():
wsgi.serve_forever()
except KeyboardInterrupt:
pass
if __name__ == '__main__':
sys.exit(main())

View File

@ -45,3 +45,7 @@ def main():
launcher = service.launch(CONF, mgr)
launcher.wait()
if __name__ == '__main__':
sys.exit(main())