4
Summary: Library to implement a well-behaved Unix daemon process.
5
Home-page: http://pypi.python.org/pypi/python-daemon/
7
Author-email: ben+python@benfinney.id.au
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 :: Python Software Foundation License
34
Classifier: Operating System :: POSIX
35
Classifier: Programming Language :: Python
36
Classifier: Intended Audience :: Developers
37
Classifier: Topic :: Software Development :: Libraries :: Python Modules