fixes vncproxy service listening on rabbit

This commit is contained in:
Vishvananda Ishaya 2011-09-08 04:45:04 -07:00
parent 78a63bcad5
commit 98a5e14939

View File

@ -107,10 +107,13 @@ if __name__ == "__main__":
else:
with_auth = auth.VNCNovaAuthMiddleware(with_logging)
server = wsgi.Server("VNC Proxy",
with_auth,
host=FLAGS.vncproxy_host,
port=FLAGS.vncproxy_port)
server.start_tcp(handle_flash_socket_policy, 843, host=FLAGS.vncproxy_host)
service.serve(server)
wsgi_server = wsgi.Server("VNC Proxy",
with_auth,
host=FLAGS.vncproxy_host,
port=FLAGS.vncproxy_port)
wsgi_server.start_tcp(handle_flash_socket_policy,
843,
host=FLAGS.vncproxy_host)
server = service.Service.create(binary='nova-vncproxy')
service.serve(wsgi_server, server)
service.wait()