diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-04-20 20:52:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-22 16:17:00 +0200 |
commit | b9a049b1fb10135182f56403b800e4dabc2d5243 (patch) | |
tree | 9981b5b69a23165183afd1b84e4a45d3ded9383c /man | |
parent | 8c856804780681e135d98ca94d08afe247557770 (diff) |
man: don't claim systemd would connect stdout/stderr of daemons with /dev/null
Diffstat (limited to 'man')
-rw-r--r-- | man/daemon.xml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/man/daemon.xml b/man/daemon.xml index fed1ca1f49..485c66225e 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -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 |