litaio/chef-lita — pull request #5 by iroller (2014-09-09 13:02:07+00:00)
Title: Doesn't need sudo here. Use su (useful for rbenv). Don't hide errors

Switch from 'sudo' to 'su -'
It loads environment and if there's rbenv installed for app user it'll pick it up.
Also stop hiding errors. It's impossible to debug if start script sends all the output to `/dev/null`