Posts

Showing posts with the label daemontools

cherrypy daemontools

Cherrypy and daemontools work nicely together. However, I have not found any instructions on how to use them together on the interwebs... so I've written up some basic notes for people who love cherrypy and daemontools. daemontools is a collection of tools for managing UNIX services. It can be used to automatically start, and restart processes on a unix system. The instructions to run services in daemontools are here: http://cr.yp.to/daemontools/faq/create.html#run . I'm assuming you have daemontools set up already. Cherrypy is a python library for making website applications. There are many ways to deploy cherrypy apps, but I will describe how to deploy cherrypy apps with daemontools. Firstly, you do not need the cherryd tool to use with daemontools. Daemontools does the daemonising for you. But cherryd can be used if you want, since it provides some nice options (just don't use the -d daemonize flag). You may want to use cherryd with daemontools if you'd lik...