summaryrefslogtreecommitdiff
path: root/src/core/service.h
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-04-24 09:35:37 +0200
committerLennart Poettering <lennart@poettering.net>2014-04-24 20:11:20 +0200
commit93ae25e6fd62b2f87c3dd9ad3e81934eecc48057 (patch)
tree7a467226ee1aa4042a2bef0cc6b6b55f169c8e83 /src/core/service.h
parent209b031e4fb7b50fc1812fc7c6ea59ca2f5d0c78 (diff)
service: add FailureAction= option
It has the same possible values as StartLimitAction= and is executed immediately if a service fails.
Diffstat (limited to 'src/core/service.h')
-rw-r--r--src/core/service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h
index fd05e9be89..13b2b064c0 100644
--- a/src/core/service.h
+++ b/src/core/service.h
@@ -187,6 +187,8 @@ struct Service {
char *status_text;
+ StartLimitAction failure_action;
+
RateLimit start_limit;
StartLimitAction start_limit_action;
char *reboot_arg;