This file is indexed.

/usr/share/doc/libghc-missingh-doc/html/System-Daemon.html is in libghc-missingh-doc 1.1.0.3-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>System.Daemon</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_System-Daemon.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-Daemon.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">MissingH-1.1.0.3: Large utility library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable to platforms with POSIX process\/signal tools</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>John Goerzen &lt;jgoerzen@complete.org&gt;</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">System.Daemon</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Tools for writing daemons/server processes
</p><p>Written by John Goerzen, jgoerzen@complete.org
</p><p>Please note: Most of this module is not compatible with Hugs.
</p><p>Messages from this module are logged under <code>System.Daemon</code>.  See
<code><a href="/usr/share/doc/libghc-hslogger-doc/html/System-Log.html#t:Logger">Logger</a></code> for details.
</p><p>Based on background
from <a href="http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16">http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16</a> and
<a href="http://www.haskell.org/hawiki/HaskellUnixDaemon">http://www.haskell.org/hawiki/HaskellUnixDaemon</a>.
</p><p>This module is not available on Windows.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:detachDaemon">detachDaemon</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:detachDaemon" class="def">detachDaemon</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/ghc-prim-0.2.0.0/GHC-Tuple.html#t:-40--41-">()</a><a href="src/System-Daemon.html#detachDaemon" class="link">Source</a></p><div class="doc"><p>Detach the process from a controlling terminal and run it in the
background, handling it with standard Unix deamon semantics.
</p><p>After running this, please note the following side-effects:
</p><ul><li> The PID of the running process will change
</li><li> stdin, stdout, and stderr will not work (they'll be set to
   /dev/null)
</li><li> CWD will be changed to /
</li></ul><p>I <em>highly</em> suggest running this function before starting any threads.
</p><p>Note that this is not intended for a daemon invoked from inetd(1).
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>