starting a task without events

Janne Karhunen janne.karhunen at gmail.com
Wed Feb 3 12:25:08 GMT 2010


On Wed, Feb 3, 2010 at 3:11 AM, Jan Claeys <lists at janc.be> wrote:

>> Reason I'm asking is that 'started' is a nice way to implement
>> ordered startup sequence and usually that does not mean
>> dependency. For debugging, it would be quite nice to support
>> case where 'task1' could be fired off standalone.
>
> Two ways I can think of:
>     1. make 2 scripts for task1, so that task1standalone doesn't fire a
>        "started task1" event,
>     2. make task2 check some external variable (e.g. could be a setting
>        in a file inside /etc/default/ on Ubuntu) as an additional
>        launch condition.

Well most certainly it can be scripted, but feels like
another hack. Will consider drafting a patch and see
if SJR likes it.


-- 
// Janne



More information about the upstart-devel mailing list