prepare_soft_reboot_composefs

Function prepare_soft_reboot_composefs 

Source
pub(crate) async fn prepare_soft_reboot_composefs(
    storage: &Storage,
    booted_cfs: &BootedComposefs,
    deployment_id: Option<&str>,
    soft_reboot_mode: SoftRebootMode,
    reboot: bool,
) -> Result<()>
Expand description

Checks if the provided deployment is soft reboot capable, and soft reboots the system if argument reboot is true