Reputation: 63
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?
Upvotes: 0
Views: 285
Reputation: 57328
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.
Upvotes: 1