Table Of Contents

Previous topic

Making HTTPS Redirects Work With a Reverse Proxy

Next topic

Database Installation

Starting TurboGears Applications Using Init Scripts

When deploying a TurboGears app to a Linux/Unix-based server, it may be useful to set up your application to run using an init script.

Here are some init scripts that may be helpful (most come from this thread on the mailing list).

Note that these scripts are unoffical, untested, and probably won’t work for you unmodified. They’re just offered here to help you get moving in the right direction.


Here’s an example Debian script.


Here’s an example Gentoo script.

Suse / LSB

Here is an example LSB script that should work on SuSE Linux. This scripts needs functions in rc.status