[Twisted-Python] What's the standard way to catch signals in twisted?

Yun Mao maoy at cis.upenn.edu
Thu Feb 24 15:07:00 EST 2005


>
> Do you really want signal handlers, or do you want to do stuff on
> shutdown? If you want to do stuff on shutdown, just add code in your
> service's stopService.
>

Both. E.g, I'd like to reload a couple of configuration files when I 
receive SIGHUP.

Yun





More information about the Twisted-Python mailing list