[CalendarServer-changes] [602] CalendarServer/branches/users/wsanchez/provisioning-2/run

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 27 17:23:13 PST 2006


Revision: 602
          http://trac.macosforge.org/projects/calendarserver/changeset/602
Author:   wsanchez at apple.com
Date:     2006-11-27 17:23:13 -0800 (Mon, 27 Nov 2006)

Log Message:
-----------
Print a useful message when we can't find the config file.

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/provisioning-2/run

Modified: CalendarServer/branches/users/wsanchez/provisioning-2/run
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning-2/run	2006-11-28 01:19:10 UTC (rev 601)
+++ CalendarServer/branches/users/wsanchez/provisioning-2/run	2006-11-28 01:23:13 UTC (rev 602)
@@ -161,6 +161,12 @@
   fi;
 
   if ! "${setup_only}"; then
+    if [ ! -f "${config}" ]; then
+        echo "Missing config file: ${config}";
+        echo "You might want to copy conf/caldavd-test.plist to conf/caldavd-dev.plist and start from there.";
+        exit 1;
+    fi;
+
     cd "${wd}";
     exec "${python}" "${caldav}/bin/caldavd" ${daemonize} \
         -f "${config}"                                    \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061127/f302040a/attachment.html


More information about the calendarserver-changes mailing list