mirror of
https://github.com/systemd/systemd.git
synced 2025-03-06 00:58:29 +03:00
man: don't claim systemd would connect stdout/stderr of daemons with /dev/null
This commit is contained in:
parent
8c85680478
commit
b9a049b1fb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user