This guide will teach you how to run your Node processes automatically on Debian (or even Ubuntu). This will mean that your processes can start when your server boots and that they will keep running in case of crashes. Two years ago I wrote “Running a Node.js process on Debian as an init.
Full article