]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: don't claim systemd would connect stdout/stderr of daemons with /dev/null
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Apr 2016 18:52:28 +0000 (20:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Apr 2016 14:17:00 +0000 (16:17 +0200)
man/daemon.xml

index fed1ca1f49f5b5663608bde7ed9ce60591e414b7..485c66225eb9ba1ce77e273d0c8650235a3e8186 100644 (file)
       functionality of the init system, it is recommended not to
       execute them when run as new-style service.</para>
 
-      <para>Note that new-style init systems guarantee execution of
-      daemon processes in a clean process context: it is guaranteed
-      that the environment block is sanitized, that the signal
-      handlers and mask is reset and that no left-over file
-      descriptors are passed. Daemons will be executed in their own
-      session, with standard input/output/error connected to
-      <filename>/dev/null</filename> unless otherwise configured. The
-      umask is reset.
+      <para>Note that new-style init systems guarantee execution of daemon processes in a clean process context: it is
+      guaranteed that the environment block is sanitized, that the signal handlers and mask is reset and that no
+      left-over file descriptors are passed. Daemons will be executed in their own session, with standard input
+      connected to <filename>/dev/null</filename> and standard output/error connected to the
+      <citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+      logging service, unless otherwise configured. The umask is reset.
       </para>
 
       <para>It is recommended for new-style daemons to implement the