Injecting a sequential job

Evan Huus eapache at gmail.com
Wed Feb 29 22:53:10 UTC 2012


On Wed, Feb 29, 2012 at 5:48 PM, Svein Seldal <sveinse at seldal.com> wrote:

> On 29. feb. 2012 23:41, Evan Huus wrote:
>
>  As per my previous email (which probably hadn't arrived by the time you
>> sent this one), I think you're going about it sort of backwards. Your
>> job should emit an 'application-mode' event when not production mode.
>> Then network-manager (and anything else) should be adjusted to "start on
>> (default-conditions) and application-mode" using override files.
>>
>
> 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.
>

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].


> 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.


That's understandable.

Cheers,
Evan

[2] http://upstart.at/2011/03/11/override-files-in-ubuntu-natty/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20120229/6eee4d33/attachment.html>


More information about the upstart-devel mailing list