Start upon existence of multiple devices

Jan Ceuleers jan.ceuleers at computer.org
Tue Feb 8 20:57:06 UTC 2011


On 08/02/11 21:47, Scott James Remnant wrote:
> In general, this is the exact use case (multiple devices come up in an
> unknown order) for which the current behavior of "and" is intended
> for.
>
>    start on device_a and device_b

Thanks Scott.

I had assumed (after some testing, because the documentation is unclear 
on this point) that the device-added construct is an event rather than a 
state. So a

     start on device-added XX=xx and device-added YY=yy

can never be true because no two events are ever simultaneous.

If you mean something other than using a form of device-added, then how 
should I specify the devices in your above start on construct?

Thanks, Jan



More information about the upstart-devel mailing list