xaka | hello there! i have service A and B, and i want A to be running when B starts. the problem is that i can't modify A's config file. what can i do? | 14:00 |
---|---|---|
xaka | i know i could use "start on A" in B config file, but i dont want to start it automatically when A starts | 14:02 |
lnykryn | why can't you modify A? | 14:44 |
xaka | it's provided by ubuntu (the package) so i can't/don't want to modify it | 14:46 |
xaka | i need someting like "REQUIRED" in rcNG or "dependencies" in SMF | 14:46 |
lnykryn | xaka: so you can't override it by override file | 14:46 |
xaka | nope, because that means i would have to maintain it for ever | 14:47 |
xaka | i just need to start A if it's not running when i start B | 14:47 |
lnykryn | another ugly solution would be to start a with pre-start stanza | 14:49 |
xaka | that is what i'm looking at at the moment :) but that is really ugly, agree | 14:50 |
xaka | it's like how packaging works - if you install B and it depends on A, apt-get will install A, but B wont be installed if only need A | 14:50 |
mitsuhiko | hey everybody. how do i run jobs under a specific user? | 21:31 |
jY | mitsuhiko: what version of upstart? | 22:00 |
mitsuhiko | jY: whatever comes with ubuntu precise | 22:00 |
jY | setuid and setgid | 22:02 |
jY | setuid username | 22:02 |
jY | for example | 22:02 |
mitsuhiko | jY: i apparently fail very much at googling. where do i find docs for this? | 22:03 |
jY | http://upstart.ubuntu.com/cookbook/#setuid | 22:04 |
jY | it is new in 1.4 | 22:04 |
mitsuhiko | thanks | 22:06 |
mitsuhiko | jY: i guess it would make sense to remove the wiki at this point | 22:06 |
mitsuhiko | the stuff there is heavily outdated | 22:07 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!