X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fdaemon.xml;h=5d3a9903da310d007cfb82878f4adc06506c2699;hb=1e95893a89b87e4ed656910e30c430e583bc8133;hp=1a2c325f9b19843fc157c725d440b3494416fe55;hpb=9546c6ed678bf8fbb93b9be620c9727b0e3d58ae;p=elogind.git
diff --git a/man/daemon.xml b/man/daemon.xml
index 1a2c325f9..5d3a9903d 100644
--- a/man/daemon.xml
+++ b/man/daemon.xml
@@ -85,13 +85,14 @@
with a fallback of iterating from file
descriptor 3 to the value returned by
getrlimit() for
- RLIMIT_NOFILE.
+ RLIMIT_NOFILE.
+
Reset all signal
handlers to their default. This is
best done by iterating through the
available signals up to the limit of
- _NSIG and resetting them to
+ _NSIG and resetting them to
SIG_DFL.
Reset the signal mask
@@ -321,29 +322,21 @@
interface.
Instead of using the
- syslog() call to log directly to the
- system syslog service, a new-style daemon may
- choose to simply log to standard error via
- fprintf(), which is then forwarded to
- syslog by the init system. If log
- priorities are necessary, these can be
- encoded by prefixing individual log
- lines with strings like "<4>"
- (for log priority 4 "WARNING" in the
- syslog priority scheme), following a
- similar style as the Linux kernel's
- printk() priority system. In fact,
- using this style of logging also
- enables the init system to optionally
- direct all application logging to the
- kernel log buffer (kmsg), as
- accessible via
- dmesg1. This
- kind of logging may be enabled by
- setting
- StandardError=syslog
- in the service unit file. For details,
- see
+ syslog() call to
+ log directly to the system syslog
+ service, a new-style daemon may choose
+ to simply log to standard error via
+ fprintf(), which
+ is then forwarded to syslog by the
+ init system. If log levels are
+ necessary, these can be encoded by
+ prefixing individual log lines with
+ strings like <4> (for log
+ level 4 "WARNING" in the syslog
+ priority scheme), following a similar
+ style as the Linux kernel's
+ printk() level
+ system. For details, see
sd-daemon3
and
systemd.exec5.
@@ -618,7 +611,7 @@
on a network interface, because network
sockets shall be bound to the
address. However, an alternative to implement
- this is by utilizing the Linux IP_FREEBIND
+ this is by utilizing the Linux IP_FREEBIND
socket option, as accessible via
FreeBind=yes in systemd
socket files (see
@@ -756,7 +749,7 @@
boot.
Packages using
- autoconf1
+ autoconf1
are recommended to use a configure script
excerpt like the following to determine the
unit installation path during source
@@ -791,7 +784,7 @@ AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemdsystemunitdir" != "xno"])
Makefile.am
file in
- automake1-based
+ automake1-based
projects:
DISTCHECK_CONFIGURE_FLAGS = \
@@ -806,7 +799,7 @@ systemdsystemunit_DATA = \
endif
In the
- rpm8
+ rpm8
.spec file, use snippets
like the following to enable/disable the
service during
@@ -943,7 +936,7 @@ fi
Placing Daemon Data
- It is recommended to follow the genreal
+ It is recommended to follow the general
guidelines for placing package files, as discussed in
file-hierarchy7.