Philip Pemberton wrote:
listmember wrote:

 > Will it also be a service app, I wonder? ;-)

I could look into turning it into a service, but I'd like to get the auto-builder working first :)

I can see the priorities :) Plus, while nice, it's not terribly important
to have an NT Service since there are other indirect ways to run it as an
NY Service.

I hope I am not jumping too far ahead, but in case someone needs it, here is 
how I'd do it:

First take a look at http://support.microsoft.com/kb/q137890/

You will need the 2 apps mentioned in that link, namely INSTSRV.EXE
SRVANY.EXE

Unless you have the Windows Resource Kit, you can grab copies of them at http://www.electrasoft.com/srvany/srvany.htm and place them in the directory where cherokee.exe is.

BTW #1: I am simply assuming it will be called 'cherokee.exe' if not, 
substitute the actual exe name here.

BTW #2: We'll refer to the path to this folder [cherokee_path] from now on.

Then open a command window, go to [cherokee_path] and type

<single_line>
[cherokee_path]\instsrv.exe CherokeeWebServer [cherokee_path]\srvany.exe
</single_line>

Please note that I have named the service 'CherokeeWebServer' for 
discernability in 'Computer management' | Services pane.

Then follow the instructions at http://support.microsoft.com/kb/q137890/

First locate 'CherokeeWebServer' (use the search functionality) and then make 
sure that 'ImagePath' contains this information

'[cherokee_path]\srvany.exe' (obviously without the quotes)

Next, create the 'Parameters' key, and 'Application' parameter (a string value) 
as desribed by MS.

The 'Application' parameter should have this as its content:

<single_line>
"[cherokee_path]\cherokee.exe" {add any parameters here}
</single_line>

Note that it would be a good idea to keep the doublequotes there.

Finally, open the 'Computer management' | Services pane and then start 
'CherokeeWebServer'.

You might also want to make sure that 'CherokeeWebServer' is set to Automatic if you want CherokeeWebServer to be automatically started when Windows is rebooted.

Hope this helps someone.
_______________________________________________
Cherokee mailing list
[email protected]
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to