python-daemon - library for making a Unix daemon process — Python 2

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe amd64
Package name python-daemon
Package version 2.0.5
Package release 1
Package architecture all
Package type deb
Installed size 98 B
Download size 16.39 KB
Official Mirror
‘daemon’ is a library that assists a Python program to turn itself
into a well-behaved Unix daemon process, as specified in PEP 3143.
This library provides a ‘DaemonContext’ class that manages the
following important tasks for becoming a daemon process:
* Detach the process into its own process group.
* Set process environment appropriate for running inside a chroot.
* Renounce suid and sgid privileges.
* Close all open file descriptors.
* Change the working directory, uid, gid, and umask.
* Set appropriate signal handlers.
* Open new file descriptors for stdin, stdout, and stderr.
* Manage a specified PID lock file.
* Register cleanup functions for at-exit processing.
This package installs the library for Python 2.


Package Version Architecture Repository
python-daemon_2.0.5-1_all.deb 2.0.5 all Ubuntu Universe
python-daemon - - -


Name Value
python-docutils -
python-lockfile >= 1:0.9
python-pkg-resources -
python:any >= 2.7.5-5~
python:any << 2.8


Type URL
Binary Package python-daemon_2.0.5-1_all.deb
Source Package python-daemon

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-daemon deb package:
    # sudo apt-get install python-daemon




2015-06-09 - Ben Finney <>
python-daemon (2.0.5-1) unstable; urgency=high
* The “Ghazi Beji” release.
* Urgency high now that our dependency ‘python-lockfile’ broke backward
* New upstream version. Highlights since previous release:
* Supports Python 2 and Python 3 with the same code base.
* Now uses ‘lockfile’ >= 0.9, with its implementation of
(Closes: bug#787497)
* Licensed under terms of Apache License 2.0.
* debian/control:
* Declare “Standards-Version: 3.9.6”.
* Use canonical Alioth VCS anonymous-access URLs.
* Update build dependencies for upstream changes:
* Removed ‘python-minimock’.
* Versioned dependency on ‘lockfile’ library.
* Add Python ‘unittest2’, ‘mock’, ‘testtools’, ‘testscenarios’ build
* Add Python ‘docutils’ dependency.
* Remove support for Python versions earlier than 2.7.
* debian/copyright:
* Conform to official copyright format version 1.0.
* Update copyright information.
* debian/rules:
* Use a catch-all target for all Policy-required targets.
* Add ‘get-orig-source’ target (as recommended by Policy §4.9) and
‘get-packaged-orig-source’ target.
* Upstream test suite currently not working; don't run it.
* Discard HTTP traffic during packaging actions.
* debian/rules, debian/compat, debian/control, debian/pyversions:
* Upgrade to Debhelper 9.
* Convert Python packaging system to Pybuild.
(Closes: bug#706190) Thanks to Dave Steele for the bug report.
* Convert to ‘dh_python{2,3}’ build system. (Closes: bug#785997)
Thanks to Luca Falavigna for the bug report.
* Specify range of Python versions supported.
Remove obsolete ‘pyversions’ file.
(Closes: bug#581180)
* Build packages targeting both Python 2 and Python 3.
* debian/bzr-builddeb.conf:
* Add this package's configuration for ‘bzr builddeb’.
* debian/upstream/signing-key.asc:
* Add public keyring for keys used to sign upstream source.
* debian/watch:
* Update comments, add editor hints.
* Update patterns for Debian redirector for PyPI.
The PyPI directory-listing API is no longer supported.
2010-04-10 - Ben Finney <>
python-daemon (1.5.5-1) unstable; urgency=low
* New upstream version. Highlights since previous release:
+ Stop using ‘pkg_resources’ and revert to pre-1.5.3 version-string
handling, until a better way that doesn't break everyone else's
installation can be found.
2010-02-27 - Ben Finney <>
python-daemon (1.5.4-1) unstable; urgency=low
* New upstream version. Highlights since previous release:
* Invoke the pidfile context manager's ‘__exit__’
method with the correct arguments (as per
* debian/source/format:
* Declare source package format.
* debian/control:
* Build-Depends on all dependencies, so that ‘pkg_resources.require’
works for all packaging actions.
* Conform to ‘Standards-Version: 3.8.4’ (no additional changes needed).
2010-01-15 - Ben Finney <>
python-daemon (1.5.2-2) unstable; urgency=medium
* Urgency ‘medium’ to address serious packaging bug.
* debian/control:
+ Fix missing dependency on ‘python-lockfile’.
(Closes: Bug#565352)

See Also

Package Description
python-daemonize_2.3.1-1_all.deb enable your code to run as a daemon process - Python 2.x
python-dap_2.2.6.7-2_all.deb DAP (Data Access Protocol) client and server
python-darts.lib.utils.lru-doc_0.5-3_all.deb Simple dictionary with LRU behaviour in Python (common documentation)
python-darts.lib.utils.lru_0.5-3_all.deb Simple dictionary with LRU behaviour in Python2
python-dballe_7.7-1_amd64.deb DB-ALL.e Python library for weather research
python-dbf-doc_0.96.005-1_all.deb Python module for reading and writing dbf files (common documentation)
python-dbf_0.96.005-1_all.deb Python module for reading and writing dbf files (Python 2)
python-dbus.mainloop.pyqt5_5.5.1+dfsg-3ubuntu4_amd64.deb D-Bus Qt main loop support for Python 2
python-dbusmock_0.16.3-1_all.deb mock D-Bus objects for tests (Python 2)
python-dcmstack_0.6.2+git33-gb43919a.1-1_all.deb DICOM to Nifti conversion
python-dcos_0.2.0-2_all.deb Datacenter Operating System (DCOS) CLI - Python 2.7
python-ddt-doc_1.0.1-1_all.deb Data-Driven/Decorated Tests - doc
python-ddt_1.0.1-1_all.deb Data-Driven/Decorated Tests - Python 2.x
python-deap_1.0.1-4_all.deb Distributed Evolutionary Algorithms in Python
python-debian_0.1.27ubuntu2_all.deb Python modules to work with Debian-related data formats