a failed container start shows the unit's own journal lines in the op output
This commit is contained in:
parent
894349459a
commit
9a773349a8
1 changed files with 203 additions and 5 deletions
|
|
@ -255,6 +255,11 @@ pub enum PrivRequest {
|
|||
/// `nixos-container start <name>`
|
||||
StartContainer { name: String },
|
||||
|
||||
/// The last journal lines of `name`'s own `container@h-<name>.service`
|
||||
/// unit since `since_unix` (seconds), returned in `stdout`. hive-priv
|
||||
/// builds the unit name and clamps `since_unix` to the last hour.
|
||||
StartFailureLog { name: String, since_unix: u64 },
|
||||
|
||||
/// `nixos-container stop <name>`
|
||||
StopContainer { name: String },
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue