Revision: 872 http://trac.macosforge.org/projects/calendarserver/changeset/872 Author: dreid@apple.com Date: 2006-12-20 13:24:27 -0800 (Wed, 20 Dec 2006) Log Message: ----------- support SSLOnly option Modified Paths: -------------- CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py Modified: CalendarServer/branches/users/dreid/cluster/twistedcaldav/cluster.py =================================================================== --- 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))