Generate init.d script for Node apps

For people that wants to run node on start-up on Debian/Ubuntu.

Improved version from this article: Node init.d example

Prerequisite

To make this work, you need forever node module installed as global -g.

npm install -g forever
Make sure if you use nvm (Node Version Manager) you need to install forever on each version.

Config

Use this form to generate the file

Also I expect you to install nvm (Node Version Manager) in your system, because every project is custom build and work well in particular version. For example Ghost Blog v1 that works on v0.10.46. Might as well do it correctly then.