X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fdaemon.xml;h=997ee5b2534d0e9663fa78b78cb3196cacbacaf3;hb=d418f857f87f3f381f52f6ee17f2fad6e36aca86;hp=d5a8491850aa21c53ef4e705a36d0883e9dde764;hpb=9f7dad774ebfad23269800b7096eaad087481deb;p=elogind.git diff --git a/man/daemon.xml b/man/daemon.xml index d5a849185..997ee5b25 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -323,7 +323,7 @@ Instead of using the syslog() call to log directly to the - system logger, a new-style daemon may + system syslog service, a new-style daemon may choose to simply log to STDERR via fprintf(), which is then forwarded to syslog by the init system. If log @@ -705,24 +705,6 @@ operating system-independent. - Since not all syslog - implementations are socket-activatable - yet, it is recommended to place an - After=syslog.target - dependency in service files for - daemons that can log to - syslog. syslog.target - then either pulls in the syslog daemon - itself or simply the activation - socket. A Wants= or - even Requires= - dependency should generally not be - added, since it should be up to the - administrator whether he wants to - enable logging or not, and most syslog - clients work fine if no log daemon is - running. - Make sure to include an [Install] section including installation