Replaced sudo by setuid in upstart script. Fixes env variables.