mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/cage: log to journal
Previously, cage would log to the TTY it was running on top of, so log messages were basically lost.
This commit is contained in:
parent
cf6f9fb01a
commit
de27156be0
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ in {
|
||||||
TTYVTDisallocate = "yes";
|
TTYVTDisallocate = "yes";
|
||||||
# Fail to start if not controlling the virtual terminal.
|
# Fail to start if not controlling the virtual terminal.
|
||||||
StandardInput = "tty-fail";
|
StandardInput = "tty-fail";
|
||||||
|
StandardOutput = "journal";
|
||||||
|
StandardError = "journal";
|
||||||
# Set up a full (custom) user session for the user, required by Cage.
|
# Set up a full (custom) user session for the user, required by Cage.
|
||||||
PAMName = "cage";
|
PAMName = "cage";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue