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))