Re: [Twisted-Python] service stops/twistd exits

2010-08-05 Thread Glyph Lefkowitz
On Aug 4, 2010, at 9:23 PM, Thomas Drake wrote: > Hello, > > I'm wondering if there is an established pattern for having an application > running in twistd shut itself down in the absence of a running service? > > The idea is that if a service fails it calls self.stopService() and the > appli

[Twisted-Python] service stops/twistd exits

2010-08-04 Thread Thomas Drake
Hello, I'm wondering if there is an established pattern for having an application running in twistd shut itself down in the absence of a running service? The idea is that if a service fails it calls self.stopService() and the application shuts itself down somehow (rather than having the service c