1 A well-behaved Unix daemon process is tricky to get right, but the required
2 steps are much the same for every daemon program. A DaemonContext instance
3 holds the behaviour and configured process environment for the program; use
4 the instance as a context manager to enter a daemon state.