[Twisted-Python] Application Start Up and Tear Down

Valentino Volonghi aka Dialtone dialtone at divmod.com
Mon Jul 9 01:34:32 MDT 2007


On Mon, 9 Jul 2007 09:27:21 +0200, Valentino Volonghi aka Dialtone <dialtone at divmod.com> wrote:

>Of course Twisted will call Service.privilegedStartService when everything 
>startsup and after
>it changed UID (or anyway after Service.startService).

Of course this is wrong.

Service.privilegedStartService()
switchUID and fork
shedPriviledges()
Service.startService()


>Then when everything stops it will call Service.stopService.

-- 
Valentino Volonghi aka dialtone
Blog: http://www.twisted.it




More information about the Twisted-Python mailing list