-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

iD8DBQFDsEU/+gerLs4ltQ4RAo39AJ4pdgtZOogkitBYK8y/FZqWUrqpcwCcDVyA
0t6OcAsZgP0iSATyT0c/Px4=
=RU1F
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to