On 17-ago-09, at 07:38, Michael Kohout wrote:

> But, at home I've been developing a Lisp based web application.   
> What I was hoping with this application is to essentially control  
> Cherokee inside this lisp app- so the lisp application(via FFI)  
> would start up Cherokee and set itself up as a handler(at runtime).


It sounds kind of unusual, although I suppose you could do something  
like this..

- Launching /usr/sbin/cherokee from the lisp app.
- Rewriting the configuration file, so you add an entry for your  
handler.
- Perform a graceful restart by sending a HUP signal to the cherokee  
PID.

After the graceful restart the configuration changes would already by  
applied, and the server PID would remain being the same.

BTW, completely of curiosity, what do you want to do?

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to