[Twisted-Python] twistd tap file are not created

Pet petshmidt at googlemail.com
Mon Mar 9 16:56:40 EDT 2009


On Mon, Mar 9, 2009 at 9:02 PM, Drew Smathers <drew.smathers at gmail.com> wrote:
> On Mon, Mar 9, 2009 at 8:02 AM, Pet <petshmidt at googlemail.com> wrote:
>> Hello,
>>
>> I'm trying an example from twisted book and when I run this:
>> twistd -n reverse_app.py
>>
>> application works, but no .tap file is created
>>
>
> Are you sure the book states you can build tap files with twistd?

Yes

> mktap is the program for that.  Nonetheless, .tap files are
> deprecated:

I don't really need them, at least by now. I've just wanted be sure
everything works fine

>
> http://twistedmatrix.com/projects/core/documentation/howto/tap.html#auto1
>
>> Another question, how are twisted daemons actually stopped?
>>
>
> With the UNIX kill command ;)
>
> $ kill `cat twisted.pid`
>
> Until this (http://twistedmatrix.com/trac/ticket/823) is resolved.

I've wrote little shell script for that. But it doesn't check if
commands are successfully executed or if app already running (status).
Anyway it works for me in that simple way.


>
> -Drew
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>




More information about the Twisted-Python mailing list