feat: follow shutdowns on the boot console
This commit is contained in:
1 parent
74af283d57
commit
3fc9e2235c
16 files changed
+431
-103
No files matched your search
@@ -22,6 +22,11 @@ use crate::{
|
||||
struct Cli {
|
||||
#[arg(long, help = "Watch the user service manager instead of PID 1")]
|
||||
user: bool,
|
||||
#[arg(
|
||||
long,
|
||||
help = "Follow a shutdown instead of a boot; started by bootvine-shutdown.service"
|
||||
)]
|
||||
shutdown: bool,
|
||||
#[arg(
|
||||
long,
|
||||
help = "Root unit of the tree; defaults to the manager's default target"
|
||||
@@ -62,6 +67,7 @@ fn main() -> ExitCode {
|
||||
};
|
||||
let options = Options {
|
||||
scope: if cli.user { Scope::User } else { Scope::System },
|
||||
shutdown: cli.shutdown,
|
||||
target: cli.target,
|
||||
hold: cli.hold,
|
||||
palette: config.palette,
|
||||
|
||||
Reference in new issue
Block a user