summaryrefslogtreecommitdiff
path: root/src/core/service.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-07-25 14:07:59 +0200
committerLennart Poettering <lennart@poettering.net>2013-09-12 18:29:44 +0200
commitdc99a9764418a1974c46c55efa73b034f530a5a5 (patch)
treeb74c9e03549e3cfdde0ed41752b79033e1824344 /src/core/service.h
parent00a168618906bea43c3c57e20b9152582c324bf8 (diff)
service: Implement 'on-watchdog' restart option
Services using the watchdog option might want to be restarted only if the watchdog triggers.
Diffstat (limited to 'src/core/service.h')
-rw-r--r--src/core/service.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h
index 182cba1333..ce5b5e04ab 100644
--- a/src/core/service.h
+++ b/src/core/service.h
@@ -54,6 +54,7 @@ typedef enum ServiceRestart {
SERVICE_RESTART_NO,
SERVICE_RESTART_ON_SUCCESS,
SERVICE_RESTART_ON_FAILURE,
+ SERVICE_RESTART_ON_WATCHDOG,
SERVICE_RESTART_ON_ABORT,
SERVICE_RESTART_ALWAYS,
_SERVICE_RESTART_MAX,