# daemontools を Homebrew, apk, apt, MacPorts, Nix でインストール

daemontools のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install daemontools
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install daemontools
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:daemontools
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/daemontools>
- **バージョン:** 0.76
- **ソース概要:** Collection of tools for managing UNIX services
- **ホームページ:** <https://cr.yp.to/daemontools.html>
- **上流ドキュメント:** <https://cr.yp.to/daemontools.html>
- **ライセンス:** LicenseRef-Homebrew-public-domain
- **ソースアーカイブ:** <https://cr.yp.to/daemontools/daemontools-0.76.tar.gz>
- **最終更新:** 2026-07-10T19:03:06-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- envdir (cli)
- envuidgid (cli)
- fghack (cli)
- multilog (cli)
- pgrphack (cli)
- readproctitle (cli)
- setlock (cli)
- setuidgid (cli)
- softlimit (cli)
- supervise (cli)
- svc (cli)
- svok (cli)
- svscan (cli)
- svscanboot (cli)
- svstat (cli)
- tai64n (cli)
- tai64nlocal (cli)
- envdir (エイリアス)
- envuidgid (エイリアス)
- fghack (エイリアス)
- multilog (エイリアス)
- pgrphack (エイリアス)
- readproctitle (エイリアス)
- setlock (エイリアス)
- setuidgid (エイリアス)
- softlimit (エイリアス)
- supervise (エイリアス)
- svc (エイリアス)
- svok (エイリアス)
- svscan (エイリアス)
- svscanboot (エイリアス)
- svstat (エイリアス)
- tai64n (エイリアス)
- tai64nlocal (エイリアス)

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- 注意点: Services are stored in: $HOMEBREW_PREFIX/etc/service/
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.76
- マネージャ更新日: 2026-07-10
- ローカルデータ: OK
- 上流リポジトリ: https://cr.yp.to/daemontools.html
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** daemontools
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://pkg.so/ja/web-dev-tools/) - Matched web development metadata.
- [djbdns](https://pkg.so/ja/brew/djbdns/) - Popular package that depends on this formula.
- [monit](https://pkg.so/ja/brew/monit/) - Shares pkgdb curated category or tags: cli, service-management, system, unix.
- [immortal](https://pkg.so/ja/brew/immortal/) - Shares pkgdb curated category or tags: cli, service-management, system, unix.
- [bash](https://pkg.so/ja/brew/bash/) - Shares pkgdb curated category or tags: cli, system, unix.
- [gnu-tar](https://pkg.so/ja/brew/gnu-tar/) - Shares pkgdb curated category or tags: cli, system, unix.
- [cups](https://pkg.so/ja/brew/cups/) - Shares pkgdb curated category or tags: cli, system, unix.
- [mandoc](https://pkg.so/ja/brew/mandoc/) - Shares pkgdb curated category or tags: cli, system, unix.
- [lsof](https://pkg.so/ja/brew/lsof/) - Shares pkgdb curated category or tags: cli, system, unix.
- [libpaper](https://pkg.so/ja/brew/libpaper/) - Shares pkgdb curated category or tags: cli, system, unix.
- [runit](https://pkg.so/ja/brew/runit/) - Local package facts share a topical domain. Shared terms: cli, collection, managing, service, services.

## Combined YAML source

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


## ソース

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