X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fdaemon.xml;h=997ee5b2534d0e9663fa78b78cb3196cacbacaf3;hb=36db9a8d5b36173daf1f622fb544f4c90cfddb67;hp=f39d6cf64a945fbcbffe765fda2706bf6459c417;hpb=8f28cbcdfe55bdaaa3e8f9c68f39b1369dd0e5dd;p=elogind.git diff --git a/man/daemon.xml b/man/daemon.xml index f39d6cf64..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 @@ -795,7 +777,7 @@ AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_sy machines, and optionally allows their installation even on machines lacking systemd. (Modification of this snippet for the - user unit directory is left as an excercise for the + user unit directory is left as an exercise for the reader.) Additionally, to ensure that