service: add FailureAction= option

System Internals / systemd - Michael Olbrich [pengutronix.de] - 24 April 2014 13:11 UTC

It has the same possible values as StartLimitAction= and is executed immediately if a service fails.

93ae25e service: add FailureAction= option
man/systemd.service.xml | 11 ++++++++++
src/core/dbus-service.c | 1 +
src/core/load-fragment-gperf.gperf.m4 | 1 +
src/core/service.c | 39 +++++++++++++++++++++------------
src/core/service.h | 2 ++
5 files changed, 40 insertions(+), 14 deletions(-)

Upstream: github.com


  • Share