sysutils/py-daemon 3.1.2p0 OpenBSD
library to implement a Unix daemon process
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Martin Reindl <[email protected]>
- Categories
- sysutils, lang/python
Description
This library implements the well-behaved daemon specification of PEP 3143, "Standard daemon process library".
A well-behaved Unix daemon process is tricky to get right, but the required steps are much the same for every daemon program. A DaemonContext instance holds the behaviour and configured process environment for the program; use the instance as a context manager to enter a daemon state.
Install
Binary package:
pkg_add py3-daemon
From the ports tree:
cd /usr/ports/sysutils/py-daemon && make install