X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fdaemon.xml;h=0085ad34faa51e1df2e6cb3e50502b1d6a9612d9;hb=e1d758033dc7e101ab32323a0f1649d8daf56a22;hp=fd29ba722d7d131387b5210dcb05df891d23ef51;hpb=41a55c46ab8fb4ef6727434227071321fc762cce;p=elogind.git diff --git a/man/daemon.xml b/man/daemon.xml index fd29ba722..0085ad34f 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -74,8 +74,8 @@ Close all open file - descriptors except stdin, stdout, - stderr (i.e. the first three file + descriptors except standard input, output, + and error (i.e. the first three file 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 - foreign process. Commonly, some kind of - file locking is employed to implement - this logic. + foreign process. In the daemon process, drop privileges, if possible and @@ -252,7 +250,7 @@ detect service errors and problems. It is recommended to follow the exit code scheme as defined in the LSB + url="http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html">LSB recommendations for SysV init scripts. @@ -354,7 +352,7 @@ These recommendations are similar but not identical to the Apple + url="https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html">Apple MacOS X Daemon Requirements. @@ -395,7 +393,7 @@ exclusively on boot (and manually by the administrator) via SysV init scripts, as detailed in the LSB + url="http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html">LSB Linux Standard Base Core Specification. This method of activation is supported ubiquitously on Linux