Skip to main content

HANDOFF_POWEROFF_TIMEOUT

Constant HANDOFF_POWEROFF_TIMEOUT 

Source
pub const HANDOFF_POWEROFF_TIMEOUT: Duration;
Expand description

Maximum time agentd spends in its handoff-mode poweroff sequence.

In init-handoff sandboxes (systemd, openrc, …) agentd’s shutdown handler signals the new PID 1 with SIGRTMIN+4, sleeps for this duration to give the init a chance to act, then falls back to SIGTERM. The host’s handoff shutdown fallback must exceed this so it doesn’t cut the sequence short.