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

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.



    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


    • /usr/lib/python2.7/dist-packages/daemon/
    • /usr/lib/python2.7/dist-packages/daemon/
    • /usr/lib/python2.7/dist-packages/daemon/
    • /usr/lib/python2.7/dist-packages/daemon/
    • /usr/lib/python2.7/dist-packages/daemon/
    • /usr/lib/python2.7/dist-packages/python_daemon-UNKNOWN.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/python_daemon-UNKNOWN.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/python_daemon-UNKNOWN.egg-info/not-zip-safe
    • /usr/lib/python2.7/dist-packages/python_daemon-UNKNOWN.egg-info/requires.txt
    • /usr/lib/python2.7/dist-packages/python_daemon-UNKNOWN.egg-info/top_level.txt
    • /usr/lib/python2.7/dist-packages/python_daemon-UNKNOWN.egg-info/version_info.json
    • /usr/share/doc/python-daemon/changelog.Debian.gz
    • /usr/share/doc/python-daemon/copyright


    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 compatibility. * 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 ‘PIDLockFile’. (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 dependencies. * 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 <URL:>). * 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)