From Gentoo Wiki
Jump to:navigation Jump to:search

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].


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


root #emerge --ask sys-process/daemontools





See here for details.


See daemontools-encore.



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 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


  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.