diff options
author | Septatrix <24257556+Septatrix@users.noreply.github.com> | 2024-12-05 00:27:04 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-12-05 19:01:19 +0100 |
commit | 5857f31c2c035882ed1e506a81841d7e51e72cfa (patch) | |
tree | 5984cbea3e942d5f57dabfecb682f07e99a1189a | |
parent | docs/MEMORY_PRESSURE: fix typo (diff) | |
download | systemd-5857f31c2c035882ed1e506a81841d7e51e72cfa.tar.xz systemd-5857f31c2c035882ed1e506a81841d7e51e72cfa.zip |
man: clarify wording regarding MONITOR_* envs
-rw-r--r-- | man/systemd.exec.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 607c88128d..14075cb4e7 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -4182,7 +4182,8 @@ StandardInputData=V2XigLJyZSBubyBzdHJhbmdlcnMgdG8gbG92ZQpZb3Uga25vdyB0aGUgcnVsZX <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> - <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: <literal>OnFailure=<replaceable>handler</replaceable>@%n.service</literal> for non-templated units, or <literal>OnFailure=<replaceable>handler</replaceable>@%p-%i.service</literal> for templated |