[Twisted-Python] Shutting down a service...

Eric Faurot eric.faurot at gmail.com
Thu Jun 8 07:22:57 MDT 2006


On 6/8/06, Chaz. <eprparadocs at gmail.com> wrote:

> The issue is that I can terminate because I get an RPC shutdown request,
> but also the service getting a SIGINT. Is there some convenient
> "Twisted" way to capture sigint (or any signals) and route them to
> shutdown services in my application?

The stopService() method is called on your service instances, so
that is where you must do the clean up.

Eric.




More information about the Twisted-Python mailing list