summary refs log tree commit diff
diff options
context:
space:
mode:
authorRamses <141248+R-VdP@users.noreply.github.com>2020-11-04 15:02:19 +0000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-07-06 07:36:33 +1000
commit14d21926235194ba5332b98437d868f65743b326 (patch)
treee7e13ac0061f02689bea1da4cf01fca537835e96
parentcf4eb4fa5dd016f291ea819eafac3036daef7564 (diff)
downloadnixpkgs-14d21926235194ba5332b98437d868f65743b326.tar
nixpkgs-14d21926235194ba5332b98437d868f65743b326.tar.gz
nixpkgs-14d21926235194ba5332b98437d868f65743b326.tar.bz2
nixpkgs-14d21926235194ba5332b98437d868f65743b326.tar.lz
nixpkgs-14d21926235194ba5332b98437d868f65743b326.tar.xz
nixpkgs-14d21926235194ba5332b98437d868f65743b326.tar.zst
nixpkgs-14d21926235194ba5332b98437d868f65743b326.zip
nixos/oci-containers: restore ability to easily view the container output in the logs
Fixes #102768.
Allows the usage of `journalctl -u` to easily view the logs for a container managed by this module.
-rw-r--r--nixos/modules/virtualisation/oci-containers.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/oci-containers.nix b/nixos/modules/virtualisation/oci-containers.nix
index ad436ed3014..65b63cebc79 100644
--- a/nixos/modules/virtualisation/oci-containers.nix
+++ b/nixos/modules/virtualisation/oci-containers.nix
@@ -262,9 +262,6 @@ let
     postStop = "${cfg.backend} rm -f ${name} || true";
 
     serviceConfig = {
-      StandardOutput = "null";
-      StandardError = "null";
-
       ### There is no generalized way of supporting `reload` for docker
       ### containers. Some containers may respond well to SIGHUP sent to their
       ### init process, but it is not guaranteed; some apps have other reload