On Thu, Nov 17, 2011 at 9:31 PM, Michael Pedersen <[email protected]> wrote: > If you *must* have TG start/stop the application, you're probably going to > want to look in the myapp.config.middleware module. Personally, I would use > an external option, such as supervisord, but you *can* add such things to > the middleware to start/stop.
You can even consider adding the start/stop instructions to app_config.call_on_startup and app_config.call_on_shutdown The functions available in those lists will be called each time the application starts and stops. -- 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.

