Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix 安装 daemontools

查看 daemontools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install daemontools

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install daemontools

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add daemontools

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

Debian apt已验证 · 92%
sudo apt install daemontools

Debian stable package indexes · daemontools · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#daemontools

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

概览

软件包摘要

Collection of tools for managing UNIX services

命令和别名

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

历史

项目历史与用法

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.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
envdircli全局可执行文件
envuidgidcli全局可执行文件
fghackcli全局可执行文件
multilogcli全局可执行文件
pgrphackcli全局可执行文件
readproctitlecli全局可执行文件
setlockcli全局可执行文件
setuidgidcli全局可执行文件
softlimitcli全局可执行文件
supervisecli全局可执行文件
svccli全局可执行文件
svokcli全局可执行文件
svscancli全局可执行文件
svscanbootcli全局可执行文件
svstatcli全局可执行文件
tai64ncli全局可执行文件
tai64nlocalcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.76
管理器更新时间2026-07-10
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:daemontools
版本0.76
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/daemontools
主页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
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared
注意事项Services are stored in: $HOMEBREW_PREFIX/etc/service/

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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