Runsvdir boot waves
===================

By default stage 2 starts every symlink in runsvdir/default at once. For
large systems that starves dbus and other core daemons.

Optional phased boot uses subdirectories of /etc/runit/runsvdir/:

  01-core/   infrastructure (dbus, ubus, elogind, …)
  02-net/    networking stack
  default/   everything else (still parallel within the tier)

Enable with either:

  /etc/runit/runsvdir-waves.enabled
  /etc/runit/native.boot.run

Each tier may list hard dependencies in .needs (one service name per
line; # comments allowed). wait-tier(8) polls sv check before the next
tier is enabled via runsvchdir(8).

Example /etc/runit/runsvdir/01-core/.needs:

  dbus
  ubus

Services belong in exactly one tier: symlink /etc/sv/<name> into the
chosen tier directory, not into default, unless default is the only tier
you use.

Within a tier, runsv still supervises all services in parallel; only the
tiers themselves are sequential.
