core: generalize FailureAction= move it from service to unit
authorLennart Poettering <lennart@poettering.net>
Thu, 16 Nov 2017 14:02:56 +0000 (15:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Nov 2017 15:37:22 +0000 (16:37 +0100)
commit53c35a766f93e9aee79a8dbf44443d3040fbde14
treea954f3e660492069c068b4273eebaab427de28f3
parent9990ea0e59373c02b6bd64a5a4c860d2579f77db
core: generalize FailureAction= move it from service to unit

All kinds of units can fail, hence it makes sense to offer this as
generic concept for all unit types.
man/systemd.service.xml
man/systemd.unit.xml
src/core/dbus-service.c
src/core/dbus-unit.c
src/core/load-fragment-gperf.gperf.m4
src/core/service.c
src/core/service.h
src/core/unit.c
src/core/unit.h