I'm not aware of any bugs in those versions that would prevent the job from starting. Does running the xdg-open command straight from the cli work as expected?
Sent from my iPod On 2012-01-06, at 5:10 AM, "G.Venugopal Rao" <venugopal.r...@gmail.com> wrote: Hi Evan, Thanks for reply. I am able to get it working now with this. But one more Issue I am facing Normally from my application I have to launch the default web browser in user mode. So I am launching it by running the command ** sudo -u <username> xdg-open <Website address> When I start my daemon with "sudo initctl start <daemon>" The above command is working fine in ubuntu 11.04 but it is always fails in ubuntu 10.04, 10.10 versions. But I have to get this working for ubuntu 10.04, 10.10 versions also. I am not sure why this is failing only in this specific versions. Is there is any bug fix included in 11.04 for this Issue? Is there any workarround to get it working on older ubuntu version also (10.04, 10.10)? Please give me some pointers actually I am blocked with this isssue. Regards Venugopal On Tue, Jan 3, 2012 at 1:30 PM, Evan Huus <eapa...@gmail.com> wrote: > On Tue, Jan 3, 2012 at 1:30 PM, G.Venugopal Rao > <venugopal.r...@gmail.com> wrote: > > Hi, > > > > I am newbie to upstart script. I want to write an upstart script which > > launches my daemon with sudo permission. > > Can someone tell me how to do this? > > I believe upstart runs all jobs with root permissions by default. You > only have to do extra work if you want your process to be running as > something *other* than root. > > http://upstart.ubuntu.com/cookbook/#changing-user > > Evan >
-- upstart-devel mailing list upstart-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel