[Twisted-Python] sub options in twisted applications
Jean-Paul Calderone
exarkun at divmod.com
Sun Jun 11 13:33:02 MDT 2006
On Sun, 11 Jun 2006 16:31:42 -0200, Manlio Perillo <manlio_perillo at libero.it> wrote:
>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?
>
I don't understand how the location of the tac file matters.
Jean-Paul
More information about the Twisted-Python
mailing list