-----BEGIN PGP SIGNED MESSAGE-----
David Pratt wrote:
> Hi I am looking at light wsgi servers to serve an app but want it to be
> started from command line and have the thread spun off so it stays
> running (instead of tying up a terminal until a interrupt is given).
> I was thinking that perhaps ZDaemon could do this since perhaps I could
> also get logging as as well and I would not have to potentially write
> the threading code. If this is reasonable, can someone give me a basic
> outline for doing this. I am interested in running the wsgiserver
> locally. Many thanks. Regards,
I have successfully used zdaemon to run non-Zope / non-Python processes
as daemons, e.g., to run spread.
Look at how the code in $ZOPE_HOME/lib/python/ZEO, in particular
'zeoctl.py' and 'zeoctl.xml', which sets up the storage server using
"stock" zdaemon and a little extra config.
Tres Seaver +1 202-558-7113 [EMAIL PROTECTED]
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -