On 23 October 2012 20:09, Tom Prince <tom.pri...@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 _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python