I have created a .conf file in which I include
setuid mario
setgid mario
in order to run as mario user. The program I run in the exec command is forever which runs an instance of node which inside spawns cvlc. cvlc does not permit to be executed as root.
With this configuration "sudo start myapp" does not start.
I'm using upstart 1.5.
Thanks in advance.