Fixed the init scripts and control file. Also, imported quentin's UNCOMMITTED CODE
[invirt/packages/invirt-vnc-server.git] / code / vncproxy.py
1 #! /usr/bin/python
2 from twisted.internet import reactor, ssl
3 import vncexternalauth
4
5 sslContext = ssl.DefaultOpenSSLContextFactory(
6         'vncproxykey.pem',
7         'vncproxy.crt',
8 )
9
10 if '__main__' == __name__:
11     reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"), contextFactory=sslContext)
12     #reactor.listenTCP(10003,vncexternalauth.VNCAuthFactory("./vncauth.log", "localhost"))
13     reactor.run()