On Sat, 08.10.11 11:09, Cliff Brake (cliff.br...@gmail.com) wrote: > ENV{key} Match against a device property value. > > And from systemd documentation: > > systemd.device: SYSTEMD_WANTS= Adds dependencies of type Wants from > this unit to all listed units. This may be used to activate arbitrary > units, when a specific device becomes available. Note that this and > the other tags are not taken into account unless the device is tagged > with the "systemd" string in the udev database, because otherwise the > device is not exposed as systemd unit. > > I'm having trouble connecting all the dots, or figuring out ways to > debug this. Appreciate any additional suggestions or documentation.
Note that network devices are tagged "systemd" by default anyway. All you need to add is a rule that pulls does ENV{SYSTEMD_WANTS}="ifup@%k.service" or so, for the device you are interested in (or all of them). Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel