summaryrefslogtreecommitdiff
path: root/src/service.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-08 18:34:54 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-08 18:34:54 +0200
commit50caaedb2c416c8972f9b2f835a69a20c524e81e (patch)
tree4f0380efa907f3ab5c9b3699095494de4af3eab0 /src/service.h
parentc84ed68f304b22606f874118e6eb32f7089b1699 (diff)
downloadsystemd-50caaedb2c416c8972f9b2f835a69a20c524e81e.tar.gz
service: introduce Restart=on-failure and Restart=on-abort
Diffstat (limited to 'src/service.h')
-rw-r--r--src/service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.h b/src/service.h
index f47346702f..eb44a43895 100644
--- a/src/service.h
+++ b/src/service.h
@@ -50,6 +50,8 @@ typedef enum ServiceState {
typedef enum ServiceRestart {
SERVICE_RESTART_NO,
SERVICE_RESTART_ON_SUCCESS,
+ SERVICE_RESTART_ON_FAILURE,
+ SERVICE_RESTART_ON_ABORT,
SERVICE_RESTART_ALWAYS,
_SERVICE_RESTART_MAX,
_SERVICE_RESTART_INVALID = -1