Valentina Server Tip for Wiki

Charles Yeomans charles at declareSub.com
Mon Feb 25 10:27:41 CST 2008


See <http://developer.apple.com/macosx/launchd.html>.  launchd is a  
very handy thing.  I use it, for instance, to tie together a server  
that uses several auxiliary processor applications in a provider- 
consumer model.


Charles Yeomans

On Feb 23, 2008, at 2:04 PM, Joseph Morgan wrote:

> Hello,
>
> I am not familiar with LaunchD, can someone please explain what it  
> does and why anyone would use it? It's going right over my head!
>
>
> Joseph Morgan
> joseph at checkos.com
>
> On Feb 23, 2008, at 11:22 AM, Mr. Bart Pietercil wrote:
>
>> Hi List, Ruslan
>>
>>
>> Under OSX Valentina Server installer creates a startupitem. I would  
>> recommend this being changed and to place VServer under control of  
>> LaunchD, certainly when moving to a production environment.
>> Ruslan has said he will have a look at it when he finds the time.
>>
>> This change by itself is not difficult (when doing it manually) at  
>> all and is properly described and documented at Charles Yeomans  
>> site (at least for OSX 10.4 and I am not sure if these same  
>> instructions work under Leopard). (<http://www.declaresub.com/article/28/managing-valentina-server-with-launchd 
>> >)
>> As one can read this involves a bit off Terminal play and some  
>> people may prefer a more graphical way.
>>
>> So did we (easier and faster (2 clicks) when running Apple Remote  
>> Desktop) so we choose Lingon (http://lingon.sourceforge.net/)
>>
>> Lingon makes it VERY easy to create the necessary .plist file and  
>> places it in the correct directory. (watch out to use the  
>> appropriate version for Tiger or Leopard) and at the same time  
>> provides a graphical interface to load, unload and reload LaunchD  
>> processes. You can find Lingon here (<http://lingon.sourceforge.net/ 
>> >). It is donation ware.
>>
>> We have been using VServer the last two weeks under heavy load, we  
>> had some (not many, but some) crashes but the great thing was that  
>> the Valentina service was back up within a second without needing  
>> intervention as it was controlled by LaunchD.
>>
>> Hope this will help people out.
>>
>> Bart
>> PS: Ruslan maybe this can be put on the WIKI on the VServer tips  
>> for OSX ?


More information about the Valentina mailing list