Unitech/pm2 — pull request #555 by soyuka (2014-07-04 08:05:39+00:00)
Title: Startup refractor

- replaced all instances of `sudo` by native `su`
- startup scripts are called with su -c "cmd"
- improved code (less repetitions)
- user is added to the init script but isn't the one that fix permission and put the upstart script

Should fix #408 #524