I'm currently preparing to deploy a stand-alone CherryPy app. While I could just hack together a boot script and shoehorn it into the system's startup sequence, I'd rather find a more elegant solution.
What I need to do is:
- Start the app as a daemon during boot
- Restart it if it crashes
- Monitor CPU/memory usage
I'm sure there must be an existing solution for this. Any suggestions?