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:
I'm sure there must be an existing solution for this. Any suggestions?
Specific to cherrypy, it has daemonizer and pidfile plugins. And the cherryd script supports them as command-line options.
More generally, monit and supervisord are popular choices for process monitoring. See this question .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.