From d420282b28f50720e233ccb1c02547c562195653 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 Nov 2013 01:39:53 +0100 Subject: core: replace OnFailureIsolate= setting by a more generic OnFailureJobMode= setting and make use of it where applicable --- man/systemd.unit.xml | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) (limited to 'man/systemd.unit.xml') diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index baf44ad2eb..b43fa1369e 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -669,19 +669,37 @@ - OnFailureIsolate= - - Takes a boolean - argument. If , the - unit listed in + OnFailureJobMode= + + Takes a value of + fail, + replace, + replace-irreversibly + or + isolate. Defaults + to + replace. Specifies + how the units listed in OnFailure= will be - enqueued in isolation mode, i.e. all - units that are not its dependency will - be stopped. If this is set, only a + enqueued. If set to + fail and + contradicting jobs are already queued, + cause the activation to fail. If set + to replace and + contradicting jobs area already + queued, replace + those. replace-irreversibly + is similar to + replace, however, + creates jobs that cannot be reversed + unless they finished or are explicitly + canceled. isolate + may be used to terminate all other + units but the specified one. If + this is set to + isolate, only a single unit may be listed in - OnFailure=. Defaults - to - . + OnFailure=.. -- cgit v1.2.3-54-g00ecf