You can clone with
About the Node.js library init script for iodocs? correct me if i am wrong but I think that relative paths on the app.js will bring problems when we make init scripts. I am actually using https://gist.github.com/715255 but it fails because of the path in app.js
I had just such a problem, and had to modify my init script to actually cd into the application's directory before executing the node command. Probably not a best practice.