[Twisted-Python] sub options in twisted applications

Manlio Perillo manlio_perillo at libero.it
Sun Jun 11 14:31:42 EDT 2006


Jean-Paul Calderone ha scritto:
> On Sun, 11 Jun 2006 15:47:13 -0200, Manlio Perillo
> <manlio_perillo at libero.it> wrote:
>> glyph at divmod.com ha scritto:
>>>
>>>
>>> On Sun, 11 Jun 2006 07:48:51 -0200, Manlio Perillo
>>> <manlio_perillo at libero.it> wrote:
>>>> I don't know if this is useful/safe, but I have written a patch that
>>>> allow users to pass additional command line arguments to an application
>>>> started with twistd -y.
>>>>
>>>> I don't know if this is compatible with mktap, this is why I have
>>>> posted
>>>> the "patch" here and not on the traker.
>>>
>>> I don't think this is a good idea.
>>>
>>> As JP said, .tac files *are* configuration, they don't *take*
>>> configuration.
>>
>> Ok, but I *can not* move .tac file in /etc/myapp/, as an example.
>>
> 
> Why not?  Try this:
> 
>  mv myapp.tac /etc/myapp/
> 


I'm not sure...

Usually myapp.tac have to import other (sub)modules, (sub)packages, data.
How can I handle this?



Regards  Manlio Perillo




More information about the Twisted-Python mailing list