[CalendarServer-users] How to install as system service?

Jindan Zhou jindan at gmail.com
Tue Nov 6 14:06:37 PST 2007


Yeah, it would be nice if some one could donate their linux shell script, so
that it can be installed as a linux service, too.


Stonewall Ballard wrote:
> 
> I want to run CalendarServer on a non-server Leopard Mac. I've built  
> it and it works fine when run from my account. I didn't see any  
> instructions on installing it as a system service, but the run file  
> has an installation switch, so I installed it to /, which puts parts  
> in various, sensible places.
> 
> In the contrib directory, there is a launchd/calendarserver.plist  
> file, which has different paths to the parts. I edited it and put it  
> in the right place, but it didn't work. I couldn't find any log of why  
> that was, so I tried running "sudo /usr/local/bin/caldavd -X" from a  
> terminal window, and got an error: "/usr/local/bin/twistd: Wrong  
> number of arguments". I can't tell from the caldavd or the twistd file  
> why this might be. I get this same error when running caldavd from my  
> build directory, but not if I run "run".
> 
> I hope that an installer (or a MacPort) will be available soon, but  
> I'd like to know if this is supposed to work. The differences between  
> the launchd plist and the run install paths make me worry that this is  
> just incomplete.
> 
> I also noted that somewhere it says to use user & group "calendar",  
> but I have not created those yet, if it matters. I'm just testing  
> caldavd with sudo.
> 
> Can someone please tell me how to install and run CalendarServer as a  
> system service?
> 
> Thanks very much.
> 
>   - Stoney
> 
> -- 
> Stonewall Ballard
> stoney at sb.org           http://stoney.sb.org/
> 
> 
> 
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/calendarserver-users
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-install-as-system-service--tf4760213.html#a13617079
Sent from the Calendar Server - Users mailing list archive at Nabble.com.



More information about the calendarserver-users mailing list