[Twisted-Python] Running twistd and tac files as Windows service
Adi Roiban
adi at roiban.ro
Wed Oct 24 05:45:23 EDT 2012
On 23 October 2012 20:09, Tom Prince <tom.prince at ualberta.net> wrote:
> As JP said, buildbot has some code for this at
> https://github.com/buildbot/buildbot/blob/master/master/contrib/windows/buildbot_service.py
>
Just in case it might be of any help.
I am using something based on this code:
http://code.activestate.com/recipes/551780/
The code with Twisted reactor is here:
https://github.com/chevah/commons/blob/master/commons/compat/nt_service.py
It does not use .tac files. 'initialize' is used for creating the
services, 'start' for start listening and 'stop' for stop listening.
Cheers
--
Adi Roiban
More information about the Twisted-Python
mailing list