I also recommend looking at systemd and Upstart, even in combination with twistd. Twisted's twistd will daemonize the process, but it won't give you named services and a clean environment. -- David Strauss | david at davidstrauss.net