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 SHUTDOWN_FLUSH_TIMEOUT must exceed this so the host’s fallback exit doesn’t cut the sequence short.