chiark / gitweb /
units: fix BindsTo= logic when applied relative to services with Type=oneshot
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2014 20:21:42 +0000 (22:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2014 20:21:42 +0000 (22:21 +0200)
commitff50244582bf69e8489bba6ce59a21663d7f8274
tree0248612fb7f1e0b6c13a02fb1739184d92fbc11b
parent8257df2767fe2eb535fb83966d92f3074c522150
units: fix BindsTo= logic when applied relative to services with Type=oneshot

Start jobs for Type=oneshot units are successful when the unit state
transition activating → inactive took place. In such a case all units
that BindsTo= on it previously would continue to run, even though the unit
they dependet on was actually already gone.
src/core/unit.c