From: Lennart Poettering Date: Mon, 22 Feb 2021 16:52:20 +0000 (+0100) Subject: man: correct documentaiton of StandardInput='s defaults in regards to "data" X-Git-Tag: v248-rc1~16^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6e33c293ecb1cad5f975fe3cd12ec5aff3df221;p=thirdparty%2Fsystemd.git man: correct documentaiton of StandardInput='s defaults in regards to "data" Fixes: #18710 --- diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 80fed03b35e..1ebce6188e4 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -2408,7 +2408,9 @@ SystemCallErrorNumber=EPERM systemd.socket5 for more details about named file descriptors and their ordering. - This setting defaults to . + This setting defaults to , unless + StandardInputText=/StandardInputData= are set, in which case it + defaults to . @@ -2522,9 +2524,11 @@ SystemCallErrorNumber=EPERM StandardInputText= StandardInputData= - Configures arbitrary textual or binary data to pass via file descriptor 0 (STDIN) to the - executed processes. These settings have no effect unless StandardInput= is set to - . Use this option to embed process input data directly in the unit file. + Configures arbitrary textual or binary data to pass via file descriptor 0 (STDIN) to + the executed processes. These settings have no effect unless StandardInput= is set + to (which is the default if StandardInput= is not set + otherwise, but StandardInputText=/StandardInputData= is). Use + this option to embed process input data directly in the unit file. StandardInputText= accepts arbitrary textual data. C-style escapes for special characters as well as the usual %-specifiers are resolved. Each time this setting is used