# Installer daemontools avec Homebrew, apk, apt, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de daemontools pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:daemontools
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install daemontools
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install daemontools
```

  Preuve: MacPorts ports tree: sysutils/daemontools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add daemontools
```

  Preuve: Alpine Linux edge package indexes: daemontools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install daemontools
```

  Preuve: Debian stable package indexes: daemontools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#daemontools
```

  Preuve: nixpkgs package indexes: pkgs/by-name/da/daemontools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:daemontools
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.76
- **Résumé source:** Collection of tools for managing UNIX services
- **Page d'accueil:** <https://cr.yp.to/daemontools.html>
- **Dernière mise à jour:** 2026-07-10T19:03:06-04:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- envdir (alias)
- envuidgid (alias)
- fghack (alias)
- multilog (alias)
- pgrphack (alias)
- readproctitle (alias)
- setlock (alias)
- setuidgid (alias)
- softlimit (alias)
- supervise (alias)
- svc (alias)
- svok (alias)
- svscan (alias)
- svscanboot (alias)
- svstat (alias)
- tai64n (alias)
- tai64nlocal (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.76
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://cr.yp.to/daemontools.html>
- <https://cr.yp.to/daemontools/faq/create.html>
- <https://cr.yp.to/daemontools/install.html>
- <https://cr.yp.to/daemontools/supervise.html>
- <https://cr.yp.to/daemontools/svscan.html>
- <https://cr.yp.to/daemontools/upgrade.html>


## Notes de sécurité

formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- formula declares a Homebrew service

## Autres enregistrements de gestionnaires de paquets

- Debian apt - daemontools - 1:0.76-14: normalized package name match | Debian stable package indexes: daemontools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | collection of tools for managing UNIX services | https://cr.yp.to/daemontools.html
- Debian apt - daemontools-run - 1:0.76-14: normalized package name match | Debian stable package indexes: daemontools-run from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | daemontools service supervision | https://cr.yp.to/daemontools.html
- Nix - daemontools: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/daemontools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - daemontools - 1:0.76-10: normalized package name match | Ubuntu 24.04 LTS package indexes: daemontools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | collection of tools for managing UNIX services | https://cr.yp.to/daemontools.html
- Ubuntu apt - daemontools-run - 1:0.76-10: normalized package name match | Ubuntu 24.04 LTS package indexes: daemontools-run from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | daemontools service supervision | https://cr.yp.to/daemontools.html
- apk - daemontools - 0.76-r3: normalized package name match | Alpine Linux edge package indexes: daemontools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Collection of tools for managing UNIX services | https://cr.yp.to/daemontools.html
- apk - daemontools-openrc - 0.76-r3: normalized package name match | Alpine Linux edge package indexes: daemontools-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Collection of tools for managing UNIX services (OpenRC init scripts) | https://cr.yp.to/daemontools.html
- MacPorts - daemontools: normalized package name match | MacPorts ports tree: sysutils/daemontools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - supervise: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/su/supervise/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/daemontools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/daemontools.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
