man: don't claim systemd would connect stdout/stderr of daemons with /dev/null

This commit is contained in:
Lennart Poettering 2016-04-20 20:52:28 +02:00
parent 8c85680478
commit b9a049b1fb
1 changed files with 6 additions and 8 deletions

View File

@ -180,14 +180,12 @@
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