X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Funit.h;h=8b6b58e53bd3b338a7a134d4e41b1a94a46526a1;hb=28c3247e7908c3625118fc374475cb08f2ce79d1;hp=3f0ef01c5e871f0f9d9446f3359f8b9f85d929af;hpb=8a0867d6c5b47c8697d1ddd815116a548433c718;p=elogind.git diff --git a/src/unit.h b/src/unit.h index 3f0ef01c5..8b6b58e53 100644 --- a/src/unit.h +++ b/src/unit.h @@ -105,7 +105,7 @@ enum UnitDependency { /* Inverse of the above */ UNIT_REQUIRED_BY, /* inverse of 'requires' and 'requisite' is 'required_by' */ - UNIT_REQUIRED_BY_OVERRIDABLE, /* inverse of 'soft_requires' and 'soft_requisite' is 'soft_required_by' */ + UNIT_REQUIRED_BY_OVERRIDABLE, /* inverse of 'requires_overridable' and 'requisite_overridable' is 'soft_required_by' */ UNIT_WANTED_BY, /* inverse of 'wants' */ /* Negative dependencies */ @@ -191,8 +191,8 @@ struct Meta { /* Error code when we didn't manage to load the unit (negative) */ int load_error; - /* If we go down, pull down everything that depends on us, too */ - bool recursive_stop; + /* If some required dep goes down, pull down ourselves, too */ + bool stop_retroactively; /* Garbage collect us we nobody wants or requires us anymore */ bool stop_when_unneeded;