[Twisted-Python] Service as a daemon

Eugene Coetzee projects at reedflute.com
Fri Aug 13 12:52:12 EDT 2004


Prehaps you are overriding startService() somewhere along.

Can you post the code for FeedService.


John Toohey wrote:

> Thanks for your help. I just tried this, but the startService method 
> is still not called. Is there something else I need to do?
>
> John
>
> On Aug 13, 2004, at 10:35 AM, Itamar Shtull-Trauring wrote:
>
>> On Fri, 2004-08-13 at 10:05, John Toohey wrote:
>>
>>> The .tap file is now as follows :-
>>> def makeService(config):
>>> pbport = int(config["pbport"])
>>>
>>> application = service.Application('feedserver', uid=1, gid=1)
>>> f = FeedService('feedserver')
>>> reactor.connectTCP('localhost',8002,f.getFactory())
>>>
>>> f.setServiceParent(service.IServiceCollection(application))
>>
>>

-- 
--
===============================================
Reedflute Software Solutions

Telephone           -> 018 293 3236
General information -> info at reedflute.com
Project information -> projects at reedflute.com
Web                 -> www.reedflute.com
=============================================== 






More information about the Twisted-Python mailing list