Graham Stratton wrote:
I guess I'm being very naive about the way in which twistd works, but I can't find any comprehensive documentation saying what it does.
This is mostly a problem with the way you use tac files.
Thanks for any pointers,
Avoid putting everything in one file. The .tac file is not really a module and it's 'execfile'd. Change the code to have everything except a very simple and declarative configuration code inside the tac file and put everything else in a separate module. It should work then.