Skip to main content

start_unit_friendly

Function start_unit_friendly 

Source
pub fn start_unit_friendly(name: &str, timeout_secs: u64) -> Result<()>
Expand description

Start a container with friendly diagnostics on failure.

Checks for NeedDaemonReload and auto-fixes it. If the start fails, queries systemd and journalctl to build a diagnostic card for the user.