diff --git a/lib/src/reboot.rs b/lib/src/reboot.rs index c69178181..91581bc29 100644 --- a/lib/src/reboot.rs +++ b/lib/src/reboot.rs @@ -13,7 +13,9 @@ pub(crate) fn reboot() -> anyhow::Result<()> { // Flush output streams let _ = std::io::stdout().flush(); let _ = std::io::stderr().flush(); - Task::new("Rebooting system", "reboot").run()?; + Task::new("Rebooting system", "systemd-run") + .args(["--message=Initiated by bootc", "reboot"]) + .run()?; tracing::debug!("Initiated reboot, sleeping forever..."); loop { std::thread::park();