The run script is for development, not deployment. It's not supposed to work outside of the development source tree.

"Unknown command: caldav" is because your PYTHONPATH doesn't include the caldav libraries.

        -wsv


On Mar 18, 2009, at 8:25 AM, Pascal Robert wrote:

Hi,

I'm trying out the launchd plist coming from trunk/contrib/launchd, and after modifying the path to caldavd and loading the plist, I get :

        exec python /usr/bin/twistd  -n caldav
        Usage: twistd [options]
        Options:
        <snip>

        /usr/bin/twistd: Unknown command: caldav

Program arguments in the plist :

       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/CalendarServer/bin/caldavd</string>
               <string>-X</string>
       </array>

If I change them to :

       <key>ProgramArguments</key>
       <array>
               <string>/usr/local/CalendarServer/run</string>
               <string>-d</string>
       </array>

I get :

        /usr/local/CalendarServer/run: line 615: USER: unbound variable

-------------------------------------------------------
Pascal Robert

http://www.macti.ca
http://www.aircourriel.com
http://www.linkedin.com/in/macti

Skype: MacTICanada
AIM/iChat : MacTICanada

_______________________________________________
calendarserver-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

_______________________________________________
calendarserver-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Reply via email to