diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-17 00:58:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-17 00:58:47 +0200 |
commit | 5de9682cd647f07f043254fde70e62e1aa837476 (patch) | |
tree | be788640f3b80c89da3a39f75884b3bf8469878d /src/unit.h | |
parent | 45fb0699c45d2e042e04a53e3ea00501e3f65f59 (diff) |
unit: introduce OnFailure dependencies to activate units on failure of other units, as a way to implement an automatic rescue shell
Diffstat (limited to 'src/unit.h')
-rw-r--r-- | src/unit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unit.h b/src/unit.h index d3a00797f9..55fe0fa60e 100644 --- a/src/unit.h +++ b/src/unit.h @@ -114,6 +114,9 @@ enum UnitDependency { UNIT_BEFORE, /* inverse of 'before' is 'after' and vice versa */ UNIT_AFTER, + /* On Failure */ + UNIT_ON_FAILURE, + /* Reference information for GC logic */ UNIT_REFERENCES, /* Inverse of 'references' is 'referenced_by' */ UNIT_REFERENCED_BY, |