Hacker News new | ask | show | jobs
by ronnier 5603 days ago
Hello World. It worked :) In general, I love JavaScript so I don't see why I wouldn't like Node. I'll have to write a real program to truly have an opinion.

What's the best way to start and keep Node running?

1 comments

The best way to keep any service started and running runit. http://smarden.org/runit/
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.