summaryrefslogtreecommitdiff
path: root/src/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-24 03:24:23 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-24 03:24:23 +0100
commitc0daa706d329d6cc593949b7d150d4972289ba93 (patch)
tree7ab14a6954c7c7de5f09e9c86910034f6d390ed1 /src/unit.h
parenta6a9a78d95e9ba302b259f6871433f510c606308 (diff)
job: also trigger on-failure dependencies when jobs faile due to dependencies, timeout
Diffstat (limited to 'src/unit.h')
-rw-r--r--src/unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unit.h b/src/unit.h
index e81cffca3a..bd60dcb115 100644
--- a/src/unit.h
+++ b/src/unit.h
@@ -511,6 +511,8 @@ int unit_following_set(Unit *u, Set **s);
UnitType unit_name_to_type(const char *n);
bool unit_name_is_valid(const char *n, bool template_ok);
+void unit_trigger_on_failure(Unit *u);
+
const char *unit_load_state_to_string(UnitLoadState i);
UnitLoadState unit_load_state_from_string(const char *s);