chiark / gitweb /
unit: rework trigger dependency logic
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Apr 2013 18:53:16 +0000 (15:53 -0300)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Apr 2013 19:00:32 +0000 (16:00 -0300)
Instead of having explicit type-specific callbacks that inform the
triggering unit when a triggered unit changes state, make this generic
so that state changes are forwarded betwee any triggered and triggering
unit.

Also, get rid of UnitRef references from automount, timer, path units,
to the units they trigger and rely exclsuively on UNIT_TRIGGER type
dendencies.


No differences found