From 5de9682cd647f07f043254fde70e62e1aa837476 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 17 Jul 2010 00:58:47 +0200 Subject: unit: introduce OnFailure dependencies to activate units on failure of other units, as a way to implement an automatic rescue shell --- src/unit.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/unit.h') 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, -- cgit v1.2.3-54-g00ecf