CherryPy Project Download

I got cherrypy to run as a daemon finally.

using the Daemonizer plugin. I heard about the plugin in a comment at

I'm using CherryPy 3.1.0 and the following works well.

import cherrypy
from cherrypy.process.plugins import Daemonizer, PIDFile

class HelloWorld:
    def index(self):
        return "Hello world!" = True

cherrypy.quickstart(HelloWorld(), '/', 'cherrypy.conf')

I kept it short and sweet for clarity. any other people using this technique? how about logging/redirecting output to a file?

Hosted by WebFaction

Log in as guest/cherrypy to create/edit wiki pages