This is a guide to the djbwares toolset.
You can find reference documentation accompanying the tools themselves.
Each command has a manual page, accessible through the normal man
command, and the original DocBook XML form of the same, readable with any XML viewer (including WWW browsers).
There are also some tutorials accompanying a few of Bernstein's toolsets:
However, some caution should be applied:
Be aware that some of the instructions are geared towards a universe where one installs things longhand with highly-specific "install", "setup", and "check" tools; whereas the djbwares toolset omits these in favour of letting the people who package the toolset handle installing things into files and directories with general-purpose packaging systems. Building the djbwares toolset from source, one can build something self-contained that can be enclosed in a "ports tree" (or — ironically — slashpackage) system, or optionally directly build actual first-class software packages for pkgsrc on NetBSD, pkg_ng on FreeBSD, pkg on OpenBSD, and dpkg on Debian.
The "how to start daemontools" how-to only covers /etc/rc.local
(obsolete in System 5 Unix in 1983, in FreeBSD in 1995, and in NetBSD in 2000), van Smoorenburg /etc/inittab
for Linux-based operating systems (not, as the page erroneously claims, Unix System 5 in the first place, which latter had even when daemontools was invented already switched to things like the Service Access Facility, the System Resource Controller, and the Service Management Facility way back in the late 1980s and early 1990s), and several flavours of Upstart (discontinued by Canonical in 2015).
None of the systems that one will encounter in the real world in the 2020s (Mewburn rc on FreeBSD and NetBSD since 2000, OpenBSD's rc, OpenRC, BusyBox init, systemd, and others) are covered and the Bernstein how-to is long-since defunct.
Because inittab
is history, a lot of more up-to-date how-tos have been written.
Several of the djbdns how-tos use undocumented add-ns
and suchlike programs which the bespoke installation tools in djbdns in fact created on the fly.
These are in reality simple shell script wrappers around tinydns-edit
(that hardwire its location into the script) and wherever you see ./add-childns
(for example) you can substitute tinydns-edit data data.tmp add childns
.
Or write a shell function to do that.