ChopperPhil dijo [Fri, May 14, 2010 at 05:55:08AM -0700]:
> Kevin,
> 
> Many thanks for your response. I gave Launchd a look over and did some
> digging into /Library/StartupItems as well. Decided to copy one that
> already existed in there and see if I could get it to work for
> Cherokee. It does. Requires a folder and two files; I named the folder
> Cherokee (how appropriate), named one file cherokee and the other
> StartupParameters.plist
> 
> Here is the contents of cherokee:

Just checking this over to what we are doing in Debian, there is a
couple of lines that catch my eye - I must first say I am not at all
familiar with OSX's startup system, but this seems universal enough...

> Here is the contents of StartupParameters.plist
> 
> {
>   Description     = "Cherokee Web Server";
>   Provides        = ("Cherokee");
>   Requires        = ();
>   OrderPreference = "None";
>   Messages =
>   {
>     start = "Starting Cherokee Web Server";
>     stop  = "Stopping Cherokee Web Server";
>   };
> }

In our init scripts, we have the following process dependencies:

# Required-Start:    $remote_fs $network $syslog
# Required-Stop:     $remote_fs $network $syslog
# Should-Start:      $named
# Should-Stop:       $named

So, I don't know if those are available as dependencies in MacOS, but
not having them available might not allow Cherokee to properly
function!

-- 
Gunnar Wolf • [email protected] • (+52-55)5623-0154 / 1451-2244
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to