From: Zbigniew Jędrzejewski-Szmek Date: Tue, 29 Oct 2019 13:54:36 +0000 (+0100) Subject: man: reword description of triggering conditions X-Git-Tag: v244-rc1~141^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13867%2Fhead;p=thirdparty%2Fsystemd.git man: reword description of triggering conditions Fixes #13758. --- diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index d868e6827b1..e44279e5496 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1022,13 +1022,13 @@ If multiple conditions are specified, the unit will be executed if all of them apply (i.e. a - logical AND is applied). Condition checks can be prefixed with a pipe symbol (|) in - which case a condition becomes a triggering condition. If at least one triggering condition is defined - for a unit, then the unit will be executed if at least one of the triggering conditions apply and all - of the non-triggering conditions. If you prefix an argument with the pipe symbol and an exclamation - mark, the pipe symbol must be passed first, the exclamation second. If any of these options is assigned - the empty string, the list of conditions is reset completely, all previous condition settings (of any - kind) will have no effect. + logical AND is applied). Condition checks can use a pipe symbol (|) after the equals + sign (Condition…=|…), which causes the condition becomes a triggering condition. If + at least one triggering condition is defined for a unit, then the unit will be executed if at least one + of the triggering conditions apply and all of the non-triggering conditions. If you prefix an argument + with the pipe symbol and an exclamation mark, the pipe symbol must be passed first, the exclamation + second. If any of these options is assigned the empty string, the list of conditions is reset + completely, all previous condition settings (of any kind) will have no effect. The AssertArchitecture=, AssertVirtualization=, … options provide a similar mechanism that causes the job to fail (instead of being skipped). The failed check is