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 seems to work well.

import cherrypy
from cherrypy.process.plugins import Daemonizer

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

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

my cherrpy.conf file is nothing complication.. just

server.environment = 'production'
server.socket_host = ''
server.socket_port = 80
server.thread_pool = 10
tools.sessions.on = True

I kept it short and sweet for clarity.

any other people using this/another technique?

how about logging/redirecting output to a file?

any corrections/improvements to my code?

Hosted by WebFaction

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