Is there a way to run the bottles app in daemon mode

I have a flash based web application (python) and I want to run it in daemon mode. Is there a way to run it in daemon mode



source to share

1 answer

Sure. Install BottleDaemon 0.1.0 on your OS and modify your router file as follows:

    from bottledaemon import daemon_run
    from bottle import route

    def hello():
      return "Hello World"

    # The following lines will call the BottleDaemon script and launch a daemon in the background.
    if __name__ == "__main__":




All Articles