Ask HN: How do you manage your long running processes?
I have an application with several moving parts (solr, rabbitmq, celeryd, plus a few more custom python scripts) and was wondering if there are good ways to manage these. By "manage", I mean a simple way to register processes, execute a start command that starts all of them up in a particular order, and then can shut them down gracefully, too.
Of course, I could write my own master script, create and store my own PIDs etc. just wondering if people had some tools they use that they could recommend.
(
5 comments
| 5 points
| on HN
)
Also, there are several ways to kill a process by name on a Unix box, and that's preferable to storing your PID's.
I use it to run redis, solr, workers, schedulers with one shot.
http://michaelvanrooijen.com/articles/2011/06/08-managing-an...