summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-09-10 18:41:23 +0000
committerTarmac <>2011-09-10 18:41:23 +0000
commit1a5a93d40aba591f715413fbc02e3233da1a7b91 (patch)
treebe5aa1e95227c5a910b3581fec2eb7360bd9c14c /bin
parent717f73909ac6ec71b9a9b0234585c862d909d2a0 (diff)
parent98a5e149395ee58d1830d4671e2c70aaf0008585 (diff)
downloadnova-1a5a93d40aba591f715413fbc02e3233da1a7b91.tar.gz
nova-1a5a93d40aba591f715413fbc02e3233da1a7b91.tar.xz
nova-1a5a93d40aba591f715413fbc02e3233da1a7b91.zip
Makes nova-vncproxy listen for requests on the queue like it did before the bin files were refactored.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-vncproxy15
1 files changed, 9 insertions, 6 deletions
diff --git a/bin/nova-vncproxy b/bin/nova-vncproxy
index dc08e2433..8e75451cb 100755
--- a/bin/nova-vncproxy
+++ b/bin/nova-vncproxy
@@ -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()