Revision
872
Author
dreid@apple.com
Date
2006-12-20 13:24:27 -0800 (Wed, 20 Dec 2006)

Log Message

support SSLOnly option

Modified Paths

Diff

Modified: CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py (871 => 872)


--- CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py	2006-12-20 21:09:49 UTC (rev 871)
+++ CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py	2006-12-20 21:24:27 UTC (rev 872)
@@ -107,14 +107,15 @@
             process = TwistdSlaveProcess(config.twistdLocation,
                                          options['config'],
                                          port, sslport)
-            
+
             service.addProcess(process.getName(),
                                process.getCommandLine(),
                                uid=options.parent['uid'],
                                gid=options.parent['gid'])
+            
+            if not config.SSLOnly:
+                hosts.append(process.getHostLine())
 
-            hosts.append(process.getHostLine())
-
             if config.SSLEnable:
                 sslHosts.append(process.getHostLine(ssl=True))