[CalendarServer-changes] [5663] CalendarServer/trunk/bin/carddavd

source_changes at macosforge.org source_changes at macosforge.org
Thu May 27 11:54:13 PDT 2010


Revision: 5663
          http://trac.macosforge.org/projects/calendarserver/changeset/5663
Author:   sagen at apple.com
Date:     2010-05-27 11:54:09 -0700 (Thu, 27 May 2010)
Log Message:
-----------
cardavd was missing the -L arg (which was previously added to caldavd)

Modified Paths:
--------------
    CalendarServer/trunk/bin/carddavd

Modified: CalendarServer/trunk/bin/carddavd
===================================================================
--- CalendarServer/trunk/bin/carddavd	2010-05-27 18:17:38 UTC (rev 5662)
+++ CalendarServer/trunk/bin/carddavd	2010-05-27 18:54:09 UTC (rev 5663)
@@ -21,6 +21,7 @@
 #PYTHONPATH
 
 daemonize="";
+errorlogenabled="";
 username="";
 groupname="";
 configfile="";
@@ -97,11 +98,12 @@
     exit 64;
 }
 
-while getopts 'hXu:g:f:T:P:t:p:R:' option; do
+while getopts 'hXLu:g:f:T:P:t:p:R:' option; do
     case "${option}" in
         '?') usage; ;;
         'h') usage -; exit 0; ;;
         'X') daemonize="-n"; ;;
+        'L') errorlogenabled="-o ErrorLogEnabled=False"; ;;
         'f') configfile="-f ${OPTARG}"; ;;
         'T') twistdpath="${OPTARG}"; ;;
         'u') username="-u ${OPTARG}"; ;;
@@ -119,6 +121,5 @@
 
 export PYTHONPATH
 
-echo exec "${python}" "${twistdpath}" "${twistd_reactor}" ${daemonize} ${username} ${groupname} "${plugin_name}" ${configfile} ${service_type} ${profile} "${child_reactor}";
 
-exec "${python}" "${twistdpath}" ${twistd_reactor} ${daemonize} ${username} ${groupname} "${plugin_name}" ${configfile} ${service_type} ${profile} ${child_reactor};
+exec "${python}" "${twistdpath}" ${twistd_reactor} ${daemonize} ${username} ${groupname} "${plugin_name}" ${configfile} ${service_type} ${errorlogenabled} ${profile} ${child_reactor};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100527/f53b84f7/attachment.html>


More information about the calendarserver-changes mailing list