[CalendarServer-changes] [1278]
CalendarServer/trunk/twistedcaldav/tap.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Feb 27 12:30:34 PST 2007
Revision: 1278
http://trac.macosforge.org/projects/calendarserver/changeset/1278
Author: dreid at apple.com
Date: 2007-02-27 12:30:34 -0800 (Tue, 27 Feb 2007)
Log Message:
-----------
Add admin principal for caldavd-test.plist
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/tap.py
Modified: CalendarServer/trunk/twistedcaldav/tap.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/tap.py 2007-02-27 20:23:23 UTC (rev 1277)
+++ CalendarServer/trunk/twistedcaldav/tap.py 2007-02-27 20:30:34 UTC (rev 1278)
@@ -147,7 +147,11 @@
raise UsageError("Only root can drop privileges, you are: %s"
% (groupname,))
- self.parent['logfile'] = config.ErrorLogFile
+ if self.parent['nodaemon']:
+ self.parent['logfile'] = None
+ else:
+ self.parent['logfile'] = config.ErrorLogFile
+
self.parent['pidfile'] = config.PIDFile
# Verify that document root actually exists
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070227/917b0ae5/attachment.html
More information about the calendarserver-changes
mailing list