"conrad bookout" <[EMAIL PROTECTED]> wrote on Sun, 6 Feb 2005 :
> Is it possible to run the CL-HTTP server with CMU-CL (18e) in "batch" mode
> on a Linux machine.

Sure.

> 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.

Well, to start it automatically, you need to have a start script in
/etc/init.d/, aka /etc/rc.*/

> I've tried several suggested solutions found on the Internet,
> but none seem to work.

You don't say what you've tried, but what's wrong with a shell script something
like this:

-------------------------------------------------------------------------------
#!/bin/sh
lisp -quiet -batch -noinit -eval "(setq *prompt* \"\")" <<EOM
(progn
  (load "...CL-HTTP...")
  ...start CL-HTTP in infinite loop...
  (values) )
EOM
-------------------------------------------------------------------------------

        -- Don
_______________________________________________________________________________
Don Geddis                  http://don.geddis.org/               [EMAIL 
PROTECTED]


Reply via email to