On Sun, 6 Feb 2005 21:17:17 -0700 (MST), "conrad bookout" <[EMAIL PROTECTED]> 
wrote:

> Is it possible to run the CL-HTTP server with CMU-CL (18e) in
> "batch" mode on a Linux machine. The desired result is to have the
> CL-HTTP server start automatically every time the machine is booted
> without the read-eval loop reading or writing to any streams. I've
> tried several suggested solutions found on the Internet, but none
> seem to work. So, for now, I'm running a terminal session where I
> then manually start the lisp image containing the server; but this
> is, shall we say...sub-optimal.

I'd say it isn't sub-optimal at all because that way you can at any
time connect to the Lisp image and make changes.  You can for example
modify your application or enhance CL-HTTP itself while it is running.
Why isn't that a good thing?

I usually use detachtty via ssh for this task and have an init script
that sets up detachtty and CMUCL automatically for the rare case that
the machine has to be rebooted.

  <http://www.cliki.net/detachtty>

Disclaimer: I don't use CL-HTTP but I see no reason why this solution
shouldn't apply to CL-HTTP as well.

Cheers,
Edi.


Reply via email to