summaryrefslogtreecommitdiff
path: root/man/systemd.exec.xml
diff options
context:
space:
mode:
authorMax Gautier <mg@max.gautier.name>2022-07-30 08:46:27 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2022-07-30 13:48:36 +0100
commite0a12b96344b1d7ee499df1d0447b14ced62c1b4 (patch)
treece5beef1463320101ddec2c839ef321944e54cfc /man/systemd.exec.xml
parent60575af415e77d44c5507ffa9585c54b26f3797d (diff)
downloadsystemd-e0a12b96344b1d7ee499df1d0447b14ced62c1b4.tar.gz
docs: Correct StandartOutput documentation
fix #2114
Diffstat (limited to 'man/systemd.exec.xml')
-rw-r--r--man/systemd.exec.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index 3e61e0fc5e..f90a1e25d0 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -2792,7 +2792,11 @@ SystemCallErrorNumber=EPERM</programlisting>
writing text to stderr will not work. To mitigate this use the construct <command>echo "hello"
>&amp;2</command> instead, which is mostly equivalent and avoids this pitfall.</para>
- <para>This setting defaults to the value set with <varname>DefaultStandardOutput=</varname> in
+ <para>If <varname>StandardInput=</varname> is set to one of <option>tty</option>, <option>tty-force</option>,
+ <option>tty-fail</option>, <option>socket</option>, or <option>fd:<replaceable>name</replaceable></option>, this
+ setting defaults to <option>inherit</option>.</para>
+
+ <para>In other cases, this setting defaults to the value set with <varname>DefaultStandardOutput=</varname> in
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>, which
defaults to <option>journal</option>. Note that setting this parameter might result in additional dependencies
to be added to the unit (see above).</para></listitem>