[Openmcl-devel] how to deploy a image with swank run as a daemon?

Mike Manilone crtmike at gmx.us
Thu Jul 18 18:35:00 PDT 2013


於 五,2013-07-19 於 09:22 +0800,Mike Manilone 提到:
> 於 一,2013-07-15 於 09:06 +0800,刘喆 提到:
> > I want to deploy a Lisp image which is runnable with Swank. This can
> > be done by using the image dump function provided by lisp
> > implementations. But how can it run as a daemon? 
> > 
> > Detachtty does a good job, but when I deploy, detachtty is required by
> > the user; I don't like this solution, I just want a standalone one.
> > 
> > Restas-daemon and sb-daemon may be another choice, but both are
> > SBCL-related. Is there a portable solution, or one just for Clozure
> > CL?
> > 
> > I tried the daemon library from quicklisp too, but when I started
> > Swank in it, it hung. I could see in the proc file system that the
> > socket file descriptors were destroyed.
> > 
> > Now I have no idea.
> > 
> > Does anyone have something to advise?
> > 
> 
> The solution I could come up with is to load the swank into another
> thread.

Sorry I misunderstood your problem. Loading your daemon into another
thread may be a solution. I haven't tried. :-)


-- 
===========道可道也===========
| Mike Manilone (ekd123) |
| http://www.ekd123.org  |  
===========非恆道也===========



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20130719/6a74dbcf/attachment.bin>


More information about the Openmcl-devel mailing list