[Twisted-Python] What's the standard way to catch signals in twisted?
24 Feb
2005
24 Feb
'05
6:29 p.m.
For example, I want to add some specific handlers SIGHUP, SIGINT in addition to what twistd have. How to? Thanks! Yun
24 Feb
24 Feb
7:20 p.m.
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.
7171
Age (days ago)
7171
Last active (days ago)
3 comments
2 participants
participants (2)
-
Itamar Shtull-Trauring
-
Yun Mao