chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sysusers: split up default sysusers snippet
[elogind.git]
/
man
/
daemon.xml
diff --git
a/man/daemon.xml
b/man/daemon.xml
index ab58d08a76424b9bd9ea3b64016e215538479f12..0085ad34faa51e1df2e6cb3e50502b1d6a9612d9 100644
(file)
--- a/
man/daemon.xml
+++ b/
man/daemon.xml
@@
-74,8
+74,8
@@
<orderedlist>
<listitem><para>Close all open file
<orderedlist>
<listitem><para>Close all open file
- descriptors except st
din, stdo
ut,
-
stder
r (i.e. the first three file
+ descriptors except st
andard input, outp
ut,
+
and erro
r (i.e. the first three file
descriptors 0, 1, 2). This ensures
that no accidentally passed file
descriptor stays around in the daemon
descriptors 0, 1, 2). This ensures
that no accidentally passed file
descriptor stays around in the daemon
@@
-158,9
+158,7
@@
it is verified at the same time that
the PID previously stored in the PID
file no longer exists or belongs to a
it is verified at the same time that
the PID previously stored in the PID
file no longer exists or belongs to a
- foreign process. Commonly, some kind of
- file locking is employed to implement
- this logic.</para></listitem>
+ foreign process.</para></listitem>
<listitem><para>In the daemon process,
drop privileges, if possible and
<listitem><para>In the daemon process,
drop privileges, if possible and
@@
-354,7
+352,7
@@
<para>These recommendations are similar but
not identical to the <ulink
<para>These recommendations are similar but
not identical to the <ulink
- url="http
://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/LaunchOnDemandDaemons.html#//apple_ref/doc/uid/TP40001762-104738
">Apple
+ url="http
s://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html
">Apple
MacOS X Daemon Requirements</ulink>.</para>
</refsect2>
MacOS X Daemon Requirements</ulink>.</para>
</refsect2>