Skip to main content

HANDOFF_INIT_AUTO_CANDIDATES

Constant HANDOFF_INIT_AUTO_CANDIDATES 

Source
pub const HANDOFF_INIT_AUTO_CANDIDATES: &[&str];
Expand description

Ordered list of init-binary paths agentd probes when ENV_HANDOFF_INIT is set to HANDOFF_INIT_AUTO.

Order matters: the first match wins. The list covers the three well-known locations across major distros:

  • /sbin/init — BusyBox (Alpine), sysvinit, OpenRC’s wrapper. Usually a symlink to the actual init on systemd distros, so it resolves naturally on Debian/Ubuntu too.
  • /lib/systemd/systemd — Debian, Ubuntu, derivatives.
  • /usr/lib/systemd/systemd — Fedora, RHEL, modern Debian.