We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb5171b + 9f566a2 commit e7d15d4Copy full SHA for e7d15d4
lib/src/reboot.rs
@@ -13,7 +13,9 @@ pub(crate) fn reboot() -> anyhow::Result<()> {
13
// Flush output streams
14
let _ = std::io::stdout().flush();
15
let _ = std::io::stderr().flush();
16
- Task::new("Rebooting system", "reboot").run()?;
+ Task::new("Rebooting system", "systemd-run")
17
+ .args(["--message=Initiated by bootc", "reboot"])
18
+ .run()?;
19
tracing::debug!("Initiated reboot, sleeping forever...");
20
loop {
21
std::thread::park();
0 commit comments