4 Summary: Library to implement a well-behaved Unix daemon process.
5 Home-page: https://alioth.debian.org/projects/python-daemon/
9 Description: This library implements the well-behaved daemon specification of
10 :pep:`3143`, “Standard daemon process library”.
12 A well-behaved Unix daemon process is tricky to get right, but the
13 required steps are much the same for every daemon program. A
14 `DaemonContext` instance holds the behaviour and configured
15 process environment for the program; use the instance as a context
16 manager to enter a daemon state.
18 Simple example of usage::
22 from spam import do_main_program
24 with daemon.DaemonContext():
27 Customisation of the steps to become a daemon is available by
28 setting options on the `DaemonContext` instance; see the
29 documentation for that class for each option.
30 Keywords: daemon,fork,unix
32 Classifier: Development Status :: 4 - Beta
33 Classifier: License :: OSI Approved :: Apache Software License
34 Classifier: Operating System :: POSIX
35 Classifier: Programming Language :: Python :: 2.7
36 Classifier: Programming Language :: Python :: 3
37 Classifier: Intended Audience :: Developers
38 Classifier: Topic :: Software Development :: Libraries :: Python Modules