From 37520c1bec9a92adbe02fceaece588a7aa2fea2b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 3 Jul 2014 12:47:40 +0200 Subject: 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. --- src/core/service.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/service.h') 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 */ -- cgit v1.2.3-54-g00ecf