[Twisted-Python] Add custom options handling to a twisted application running from twistd

Itamar Turner-Trauring itamar at itamarst.org
Wed Aug 18 08:10:27 EDT 2010


On Wed, 2010-08-18 at 20:28 +0900, David Cournapeau wrote:

> I am trying to add some options handling to an existing twisted
> application, which runs as an "app" from twistd through the -y
> argument. It is not clear to me how to do that ?

Instead of using a .tac file, write a twistd plugin:

http://twistedmatrix.com/documents/current/core/howto/tap.html




More information about the Twisted-Python mailing list