On May 16, 2007, at 5:19 PM, Kevin Cole wrote:
> > On May 16, 10:30 am, "Kevin Horn" <[EMAIL PROTECTED]> wrote: >> Under what circumstances do you want the app to restart? >> >> Are you looking to restart in the event of a crash (Apache 502 Bad >> Proxy >> error)? > > Yeah. That sounds good. ;-) Really, all I want it to do is run in > the background like Apache does. I guess as a daemon, yes? Right now, > I always start it from an interactive shell. I want it to either > start when called upon by the mod_rewrite rule, or run all the time > waiting for Apache to direct requests its way. Checkout supervisord. It can handle starting up all your TG ups and restart them if they crash. The newest version has also an XML-RPC interface to manage your apps programatically and a web interface. I've just found this article explaining how you can set TG with it: http://tinyurl.com/32foe2 Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

