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

Itamar Shtull-Trauring itamar at itamarst.org
Thu Feb 24 14:20:23 EST 2005

On Thu, 2005-02-24 at 13:29 -0500, Yun Mao wrote:
> For example, I want to add some specific handlers SIGHUP, SIGINT in 
> addition to what twistd have. How to?

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.

More information about the Twisted-Python mailing list