python-daemon 3.1.2
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.
- Outputs:
out - 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 python-daemon 3.1.2 as follows:
guix install python-daemon@3.1.2
Or install the latest version:
guix install python-daemon
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.