[Openmcl-devel] Running CCL as a daemon

Ron Garret ron at flownet.com
Thu Feb 18 09:21:46 PST 2010


Thanks!  Didn't know about detachtty before.  Looks like just the thing.

Hmm... attachtty has a bad interaction with CCL's break loop.  When you hit ctrl-D attachtty rolls over and... well, it doesn't quite die.  It just goes catatonic.  Damned annoying.  Oh well, the code seem easy enough to hack.  (Has someone already done this?  No need to reinvent the wheel.)

Thanks!

rg

On Feb 18, 2010, at 9:11 AM, Patrick May wrote:

> On Feb 17, 2010, at 8:33 PM, Ron Garret wrote:
>> What's the right way to run CCL as a daemon?  Do I have to build my own image with a custom initial function, or is there a way to do it with the regular CCL image and the -e or -l command line option?
> 
> 	Here's how I'm running a couple of webservers:
> 
> detachtty --dribble-file ./log/ccl64-dribble --log-file ./log/detachtty.log --pid-file ./log/detachtty.pid ./log/detachtty.socket /usr/local/ccl/scripts/ccl64 --load ./load--server.lisp
> 
> Regards,
> 
> Patrick
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list