Daemontools

Daniel J. Bernstein's daemontools package, described by him as "Article description::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, 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

selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
static !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically

Emerge

root #emerge --ask sys-process/daemontools

Configuration

Files

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 — a daemontools-inspired process supervision suite that also provides a program suitable for running as process 1.
  • 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 that maintains compatibility with the system provided init program
  • Systemd — a modern SysV-style init and rc replacement for Linux systems.

External resources

References

  1. D. J. Bernstein, daemontools FAQ, which includes one about the benefits of process supervision. Retrieved on April 23rd, 2017.
  2. Gerrit Pape, runit benefits, which includes a short description of process supervision in general. Retrieved on April 23rd, 2017.
  3. Laurent Bercot, s6 overview, which contains an introduction to process supervision. Retrieved on April 23rd, 2017.
  4. Jonathan de Boyne Pollard, The daemontools family. Retrieved on May 16th, 2017.
This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.