On Nov 5, 7:51 pm, pkraus <[email protected]> wrote: > I have a web application (warehouse management software) that uses > beanstalkd to off load some background processing to keep the site > "snappy". Where/how is the best place to add the startup of the process > that watches the queue to the turbogears startup? Is there something > already in the framework for handling these kinds of situations (secondary > python programs that "do stuff" that are integral to the main application) > to make sure the process is always running.
I use supervisor (http://supervisord.org/) to start/stop my Turbogears apps as well as any daemons. You just need to make sure beanstalkd doesn't fork. It is a very nice setup with lots of possibilities. ~Sean -- 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.

