mirror of
https://github.com/systemd/systemd.git
synced 2025-03-09 12:58:26 +03:00
man: clarify wording regarding MONITOR_* envs
This commit is contained in:
parent
26dd4d3dd7
commit
5857f31c2c
@ -4182,7 +4182,8 @@ StandardInputData=V2XigLJyZSBubyBzdHJhbmdlcnMgdG8gbG92ZQpZb3Uga25vdyB0aGUgcnVsZX
|
|||||||
<varname>$MONITOR_INVOCATION_ID</varname> and <varname>$MONITOR_UNIT</varname> are set to the
|
<varname>$MONITOR_INVOCATION_ID</varname> and <varname>$MONITOR_UNIT</varname> are set to the
|
||||||
invocation id and unit name of the service which triggered the dependency.</para>
|
invocation id and unit name of the service which triggered the dependency.</para>
|
||||||
|
|
||||||
<para>Note that when multiple services trigger the same unit, those variables will be
|
<para>Note that when multiple services specify the same unit as their
|
||||||
|
<varname>OnFailure=</varname> or <varname>OnSuccess=</varname> handler, those variables will
|
||||||
<emphasis>not</emphasis> be passed. Consider using a template handler unit for that case instead:
|
<emphasis>not</emphasis> be passed. Consider using a template handler unit for that case instead:
|
||||||
<literal>OnFailure=<replaceable>handler</replaceable>@%n.service</literal> for non-templated units,
|
<literal>OnFailure=<replaceable>handler</replaceable>@%n.service</literal> for non-templated units,
|
||||||
or <literal>OnFailure=<replaceable>handler</replaceable>@%p-%i.service</literal> for templated
|
or <literal>OnFailure=<replaceable>handler</replaceable>@%p-%i.service</literal> for templated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user