bilalakhtar | People, I have a problem. I am running lucid. Exim4 starts on boot, I want to stop that, removed runlevel scripts using update-rc.d and still it starts on boot. What do I do? | 05:43 |
---|---|---|
saz | cool, this looks like the right channel | 07:39 |
saz | is there a quick way to run upstart jobs as a user other than root? | 07:40 |
saz | I don't want my daemon to have root privileges | 07:40 |
saz | ..nobody here? | 08:33 |
ion | For now, use su. | 08:42 |
saz | I've been trying that, I'm not sure if my issue is related to using su | 08:43 |
saz | but for some reason, upstart seems to start lots and lots of instances of the binary | 08:44 |
saz | instead of just one | 08:44 |
saz | and stop doesn't work | 08:44 |
saz | (I'm trying to use it to start vncserver, it spawns 99 instances of vncserver, then complains that it can't spawn anymore due to vncserver's limit of 99) | 08:44 |
saz | any ideas? | 08:46 |
saz | right | 08:56 |
saz | looks like I have to put it in the pre-start script | 08:56 |
saz | rather than just the script | 08:56 |
* Keybuk smiles knowingly at Stef Bon's upstart-devel post | 09:35 | |
ion | :-) | 09:47 |
ion | saz: What does your definition job look like? | 09:52 |
saz | ion: I think I've fixed it now, but this is what it looks like: http://pastebin.com/JFtQnrUF | 09:53 |
saz | the respawn doesn't seem to work though | 09:54 |
saz | probably because the program is started in pre-start, rather than script | 09:56 |
=== Will|- is now known as Will| |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!