Hacker News new | ask | show | jobs
by jimmyjazz14 5603 days ago
The best way to keep any service started and running runit. http://smarden.org/runit/
2 comments

We give credit, when due... Check out forever.

http://blog.nodejitsu.com/keep-a-nodejs-server-up-with-forev...

I was inspired by forever, so I also created my own management tool:

https://github.com/luxdelux/restarter

I've also used fugue before:

https://github.com/pgte/fugue

It launches a master process which forks and manages child worker processes and talks to them over a socket.