summaryrefslogtreecommitdiff
path: root/src/core/service.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-03 12:47:40 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-03 12:51:07 +0200
commit37520c1bec9a92adbe02fceaece588a7aa2fea2b (patch)
treefce49d94c6c67e2563f86b509c4d07b582a35849 /src/core/service.h
parentffd488e272aa95f7d43626e1f90fea8c30a5863b (diff)
core: introduce new RestartForceExitStatus= service setting
This does the inverse of RestartPreventExitStatus=: it forces a restart of a service when a certain exit status is returned by a service process.
Diffstat (limited to 'src/core/service.h')
-rw-r--r--src/core/service.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/service.h b/src/core/service.h
index b8f0e0c42d..7406d90f59 100644
--- a/src/core/service.h
+++ b/src/core/service.h
@@ -118,7 +118,8 @@ struct Service {
ServiceType type;
ServiceRestart restart;
- ExitStatusSet restart_ignore_status;
+ ExitStatusSet restart_prevent_status;
+ ExitStatusSet restart_force_status;
ExitStatusSet success_status;
/* If set we'll read the main daemon PID from this file */