Automic VaultAutomic Vault

brew

Install daemontools with Homebrew, apk, apt, MacPorts, Nix

Collection of tools for managing UNIX services. Version 0.76 via Homebrew; verified 2026-07-08.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install daemontools

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install daemontools

MacPorts ports tree · sysutils/daemontools/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add daemontools

Alpine Linux edge package indexes · daemontools · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install daemontools

Debian stable package indexes · daemontools · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#daemontools

nixpkgs package indexes · pkgs/by-name/da/daemontools/package.nix · source: api.github.com

overview

Package summary

Collection of tools for managing UNIX services

Commands and aliases

  • envdir
  • envuidgid
  • fghack
  • multilog
  • pgrphack
  • readproctitle
  • setlock
  • setuidgid
  • softlimit
  • supervise
  • svc
  • svok
  • svscan
  • svscanboot
  • svstat
  • tai64n
  • tai64nlocal

history

Project history and usage

daemontools is Daniel J. Bernstein's collection of Unix service supervision and logging tools. Its model is compact and filesystem-oriented: services are directories, each service has a run script, and small programs such as supervise, svscan, svc, multilog, envdir, setuidgid, softlimit, setlock, tai64n, and tai64nlocal compose the system.

Project history

The official daemontools page describes the package as tools for managing UNIX services. The install guide distributes daemontools-0.76.tar.gz under /package/admin/daemontools-0.76 and documents a /package-based installation layout.

The upgrade notes show the package stabilizing its service model across the 0.53, 0.60/0.61, 0.70, and 0.75/0.76 lines. Notable changes include supervise switching to a service directory and ./run script, older logging utilities being replaced by multilog, accustamp and tailocal being replaced by tai64n and tai64nlocal, setuidgid being renamed from setuser, setlock and envdir being added, svscan accepting a service directory argument, and the package moving under /package/admin/daemontools.

Adoption history

daemontools became influential among Unix administrators who wanted reliable supervision outside traditional init scripts. Its FAQ explicitly compares /service with inittab, ttys, init.d, and rc.local, arguing for easy installation and removal, automatic first startup, reliable restarts, reliable signaling, clean process state, and portability across Linux, BSD, Solaris, and other Unix systems.

Even on systems that no longer deploy daemontools itself, its vocabulary remains recognizable in later supervision systems: foreground daemons, run scripts, service directories, separate supervised loggers, and small process-control commands.

How it is used

A supervised service is a directory containing an executable ./run script. supervise changes into that directory, starts ./run, restarts it if it exits, honors a down file for initially disabled services, and writes status under the service directory's supervise subdirectory.

svscan starts one supervise process for each subdirectory of its scan directory, checks every five seconds for new services, restarts supervise processes that exit, and can also wire a service's output to a separately supervised log service. multilog saves, filters, timestamps, and rotates logs, pausing safely if the disk fills rather than dropping data.

Why package nerds care

For package nerds, daemontools is important because it expresses a service-manager philosophy in tiny binaries and directories rather than a large resident manager. The package is old, terse, and opinionated, but it influenced how Unix people talk about supervision, foreground services, log pipelines, and avoiding fragile init-script process state.

Timeline

  • 0.53-0.61: supervise changes to run ./run from a service directory.
  • 0.60-0.61: older logging and timestamp tools are replaced by multilog, tai64n, and tai64nlocal; setuser becomes setuidgid.
  • 0.61-0.70: setlock and envdir are added; svscan gains a command-line /service argument.
  • 0.70-0.76: package installs under /package/admin/daemontools; svscanboot, readproctitle, and pgrphack are added.
  • 0.76: Official install guide distributes daemontools-0.76.tar.gz.

Related projects

  • daemontools includes or centers on supervise, svscan, svc, svok, svstat, fghack, pgrphack, readproctitle, multilog, tai64n, tai64nlocal, setuidgid, envuidgid, envdir, softlimit, and setlock.
  • Its service-supervision ideas are related to later daemontools-family and daemontools-inspired supervisors, though those projects are outside the official source set used here.

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
envdircliglobal executable
envuidgidcliglobal executable
fghackcliglobal executable
multilogcliglobal executable
pgrphackcliglobal executable
readproctitlecliglobal executable
setlockcliglobal executable
setuidgidcliglobal executable
softlimitcliglobal executable
supervisecliglobal executable
svccliglobal executable
svokcliglobal executable
svscancliglobal executable
svscanbootcliglobal executable
svstatcliglobal executable
tai64ncliglobal executable
tai64nlocalcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-09
manager version0.76
manager updated2026-07-08
local dataok
upstreamnot checked
latest detectednot detected

https://cr.yp.to/daemontools.html

install metadata

Package metadata

Package keybrew:daemontools
Version0.76
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/daemontools
Homepagehttps://cr.yp.to/daemontools.html
Upstream docshttps://cr.yp.to/daemontools.html
LicenseLicenseRef-Homebrew-public-domain
Source archivehttps://cr.yp.to/daemontools/daemontools-0.76.tar.gz
Last updated2026-07-08T02:26:26Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared
CaveatsServices are stored in: $HOMEBREW_PREFIX/etc/service/

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedaemontools
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

daemontools 1:0.76-14

collection of tools for managing UNIX services

https://cr.yp.to/daemontools.html

sudo apt install daemontools
  • Section: admin
  • Architecture: amd64
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Daemontools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: daemontools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

daemontools-run 1:0.76-14

daemontools service supervision

https://cr.yp.to/daemontools.html

sudo apt install daemontools-run
  • Section: admin
  • Architecture: all
  • Source Package: daemontools
  • 1 dependencies
  • normalized package name match
  • Matched by: Daemontools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: daemontools-run from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

daemontools

nix profile install nixpkgs#daemontools
  • normalized package name match
  • Matched by: Daemontools
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/da/daemontools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

daemontools 1:0.76-10

collection of tools for managing UNIX services

https://cr.yp.to/daemontools.html

sudo apt install daemontools
  • Section: universe/admin
  • Architecture: amd64
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Daemontools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: daemontools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

daemontools-run 1:0.76-10

daemontools service supervision

https://cr.yp.to/daemontools.html

sudo apt install daemontools-run
  • Section: universe/admin
  • Architecture: all
  • Source Package: daemontools
  • 1 dependencies
  • normalized package name match
  • Matched by: Daemontools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: daemontools-run from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

daemontools 0.76-r3

Collection of tools for managing UNIX services

https://cr.yp.to/daemontools.html

sudo apk add daemontools
  • License: Public-Domain
  • Architecture: x86_64
  • Source Package: daemontools
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Daemontools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: daemontools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

daemontools-openrc 0.76-r3

Collection of tools for managing UNIX services (OpenRC init scripts)

https://cr.yp.to/daemontools.html

sudo apk add daemontools-openrc
  • License: Public-Domain
  • Architecture: x86_64
  • Source Package: daemontools
  • normalized package name match
  • Matched by: Daemontools
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: daemontools-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

daemontools

sudo port install daemontools
  • normalized package name match
  • Matched by: Daemontools
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/daemontools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

supervise

nix profile install nixpkgs#supervise
  • installed executable or alias match
  • Matched by: Supervise
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/su/supervise/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment