From 5857f31c2c035882ed1e506a81841d7e51e72cfa Mon Sep 17 00:00:00 2001 From: Septatrix <24257556+Septatrix@users.noreply.github.com> Date: Thu, 5 Dec 2024 00:27:04 +0100 Subject: [PATCH] man: clarify wording regarding MONITOR_* envs --- man/systemd.exec.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 $MONITOR_INVOCATION_ID and $MONITOR_UNIT are set to the invocation id and unit name of the service which triggered the dependency. - Note that when multiple services trigger the same unit, those variables will be + Note that when multiple services specify the same unit as their + OnFailure= or OnSuccess= handler, those variables will not be passed. Consider using a template handler unit for that case instead: OnFailure=handler@%n.service for non-templated units, or OnFailure=handler@%p-%i.service for templated