Controlling a TurboGears application with supervisor - Part II

A few days ago I described how I set up supervisor to control a TurboGears application on Ubuntu. I was using supervisor version 1.0.7, because I wasn't aware of the existence of supervisor2, which supersedes version 1.x and has a lot more features. Since then, I have successfully set up supervisor2 as well and I am now using it exclusively to start/stop and monitor TurboGears apps on my production machine.

Continue reading …

Controlling a TurboGears application with supervisor

Since my shiny, new TurboGears application (yes, you're looking at it!) has progressed so far as to be actually usable, I wanted to deploy it in a "production" enviroment, i.e. with automatic startup at server boot time, restarting when it crashes and the ability to monitor it remotely. I googled a bit for the right tools and found supervisor. This post reports my endeavours in setting it up on my Ubuntu box, which was successfull in the end, but not before some struggling.

Continue reading …