daemontools
From Gentoo Wiki
Daniel J. Bernstein's daemontools package, described by him as "a collection of tools for managing UNIX services", is the pioneer of what some people call today process supervision suites, i.e. packages that provide tools for performing process supervision[1] [2] [3]. There are no further releases of daemontools after 0.76 (released in 2001), but other software packages have been inspired by its design principles, notably runit, s6, perp, nosh, and an enhanced succesor, daemontools-encore [4].
Installation
USE flags
USE flags for sys-process/daemontools Collection of tools for managing UNIX services
Emerge
root #
emerge --ask sys-process/daemontools
Configuration
Files
- /service - Location of the scan directory when using OpenRC, svscanboot, or svscan-add-to-inittab from sys-process/supervise-scripts.
Service
OpenRC
See here for details.
Usage
See daemontools-encore.
Removal
Unmerge
root #
emerge --ask --depclean --verbose sys-process/daemontools
The same extra steps after removing daemontools-encore apply here.
See also
- Runit — lightweight process supervision suite, originally inspired by daemontools-inspired that offers fast and reliable service management.
- S6 — a package that provides a daemontools-inspired process supervision suite, a notification framework, a UNIX domain super-server, and tools for file descriptor holding and suidless privilege gain.
- OpenRC — a dependency-based init system for Unix-like systems that maintains compatibility with the system-provided init system
- Systemd — a modern SysV-style init and rc replacement for Linux systems.
External resources
- https://cr.yp.to/daemontools/install.html - A very short guide on how to install daemontools.
References
- ↑ D. J. Bernstein, daemontools FAQ, which includes one about the benefits of process supervision. Retrieved on April 23rd, 2017.
- ↑ Gerrit Pape, runit benefits, which includes a short description of process supervision in general. Retrieved on April 23rd, 2017.
- ↑ Laurent Bercot, s6 overview, which contains an introduction to process supervision. Retrieved on April 23rd, 2017.
- ↑ Jonathan de Boyne Pollard, The daemontools family. Retrieved on May 16th, 2017.