[Medusa-dev] Stopping a Medusa Server

Mark Bucciarelli mark at hubcapconsulting.com
Tue Nov 18 17:36:06 EST 2003


Hi, 

First post ...

Is there a way to method on a Medusa server that is similar to the 
twisted.internet.main.shutDown() method?

I'd like to run an xmlrpc server using Medusa as a Windows service, and have 
that service shut things down gracefully, waiting for Medusa to finish any 
database stuff before stopping.

I've quickly read through the Medusa sources (http_server, 
asyncore.dispatcher) but I didn't find any likely candidates.

If there is no such method now, how would you add one?  If it's not too 
complicated, I could attempt a patch ...

Regards,

-- 
Mark Bucciarelli, www.hubcapconsulting.com
  GNU/Linux user #266,902 at http://counter.li.org



More information about the Medusa-dev mailing list