<div class="gmail_quote">On Wed, Feb 29, 2012 at 5:48 PM, Svein Seldal <span dir="ltr"><<a href="mailto:sveinse@seldal.com">sveinse@seldal.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 29. feb. 2012 23:41, Evan Huus wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As per my previous email (which probably hadn't arrived by the time you<br>
sent this one), I think you're going about it sort of backwards. Your<br>
job should emit an 'application-mode' event when not production mode.<br>
Then network-manager (and anything else) should be adjusted to "start on<br>
(default-conditions) and application-mode" using override files.<br>
</blockquote>
<br></div>
Yes, I agree and I like this way, thanks. However (as nothing is ever simple) this is on a Ubuntu Natty system, hence upstart 0.9.7, so no override AFAIK.<br></blockquote><div><br>The version of upstart on Natty is a bit of a mix-and-match monster of patches, but I believe it has override support, as per [2]. <br>

</div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I also know I can alter the .conf files for all of the services I need, but I consider it a last resort. For QA resons we want to modify as little as possible of standard Ubuntu packages/system.</blockquote><div><br>That's understandable.<br>

<br>Cheers,<br>Evan <br></div><div><br>[2] <a href="http://upstart.at/2011/03/11/override-files-in-ubuntu-natty/">http://upstart.at/2011/03/11/override-files-in-ubuntu-natty/</a><br></div></div>