[Twisted-Python] Running twistd and tac files as Windows service

Phil Mayers p.mayers at imperial.ac.uk
Wed Oct 24 05:01:51 EDT 2012

On 10/24/2012 08:43 AM, John Aherne wrote:

> I don't have much idea about signalhandlers but I assume the one I am
> interested in here is to stop ControlC. The others might need to stay
> on. I'm not too sure about that without knowing more about windows
> services and how they react to these signals.

No, you need more than that removed. Otherwise you get a "signal" (can't 
remember which - SIGBRK?) when the logged-in workstation logs off, which 
terminates your twisted services. Very confusing.

[FWIW we don't use twistd/.tac on windows]

More information about the Twisted-Python mailing list