python-daemon
Python library for making a Unix daemon process
Python-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.
- Versions: 3.1.2
- Website: https://pagure.io/python-daemon/
- Licenses: ASL 2.0 · GPL 3+
- Package source: gnu/packages/python-xyz.scm
- Builds: See build status
- Issues: See known issues
Installation
Install the latest version of python-daemon as follows:
guix install python-daemon
Or install a particular version:
guix install python-daemon@3.1.2
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.
Badge code
You can use the following badge to inform users of python-daemon about the latest version available in Guix.
Example HTML:
<a href='https://packages.guix.gnu.org/packages/python-daemon'><img src='https://packages.guix.gnu.org/packages/python-daemon/badges/latest-version.svg' alt='Version in GNU Guix'></a>
Example Markdown:
[](https://packages.guix.gnu.org/packages/python-daemon)
Example Org:
[[https://packages.guix.gnu.org/packages/python-daemon][https://packages.guix.gnu.org/packages/python-daemon/badges/latest-version.svg]]