[CalendarServer-users] Where are the calendars located?

Andre LaBranche dre at apple.com
Fri Feb 18 10:06:49 PST 2011


One thing the run script does is sets PYTHONPATH prior to starting the service. There is an option to 'run' that emits the PYTHONPATH setting it uses, and this can be useful to manually run things using the same python environment that the run script uses.

export PYTHONPATH=`./run -p`

After doing the above, the following should work for starting the service (assuming you execute this from inside the CalendarServer directory)

bin/caldavd -f /path/to/caldavd.plist -t Combined

HTH,
-dre

On Feb 18, 2011, at 9:46 AM, Matthew Fairley wrote:

> Hi,
> 
> This is my first post so apologies for any noob errors!
> 
> I've managed to do a successful install of the trunk build and have CalDAV and CardDAV running using the ./run script. What I'm struggling with is getting things going using a script at boot. I'm trying something like this:
> 
> /local/path/to/caldavd -X -f /local/path/to/caldavd.plist -T /local/path/to/Twisted/twistd -P caldav -t Combined
> 
> (I am going to put each argument in a .plist file in the LaunchDaemons folder so that it runs at boot but I want to get it running from the command line first)
> 
> "/local/path/to" is my own local install path, nothing fancy, just a folder inside my users home folder.
> 
> The error I'm getting is a whole list of what twisted understands as arguments along with a final "unknown command: caldav". When I use the run script, it just works, but not when I try to fire up the server from the command line. I know I'm missing something obvious, just not sure what. The caldavd.plist file is correct as far as I can tell.
> 
> I do have one other question though. When I start the server using the run script, one of the messages I get is "Using system version of twistd". Where would I find this system version and if I used the path to that in both the caldavd.plist file and the command line, would things "just work"?
> 
> Nearly forgot - I'm on a mac mini, with mac os x 10.6, Snow Leopard, in case that helps.
> 
> Thanks guys,
> 
> Matt
> 
> Sent from my iPad
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users



More information about the calendarserver-users mailing list