[Medusa-dev] medusa daemon

douglas savitsky dsavitsk@mail.e-coli.net
Thu Oct 31 01:24:52 2002

hi there, does anyone have a trivial example of running medusa as a daemon (on FreeBSD in my case) process?  i found examples of making a python daemon, but i don't understand how the asyncore.loop() comes in to play.

an example that would daemonize something like the following would be great.

import asyncore
from medusa import http_server
hs = http_server.http_server (
# Enter async main loop