From e7a2594219a6aaa47cee850f6f1b86e7280713eb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 24 Feb 2023 10:21:49 +0100 Subject: [PATCH] man: document REMOTE_ADDR/REMOTE_PORT along with the other env vars --- man/systemd.exec.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index daa2a595f05..e6969416822 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -3755,6 +3755,15 @@ StandardInputData=V2XigLJyZSBubyBzdHJhbmdlcnMgdG8gbG92ZQpZb3Uga25vdyB0aGUgcnVsZX system. + + $REMOTE_ADDR + $REMOTE_PORT + + If this is a unit started via per-connection socket activation (i.e. via a socket + unit with Accept=yes), these environment variables contain the IP address and + port number of the remote peer of the socket connection. + + $TRIGGER_UNIT $TRIGGER_PATH -- 2.47.3