git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit14d21926235194ba5332b98437d868f65743b326 authorRamses <141248+R-VdP@users.noreply.github.com> dateWed 4 Nov 2020, 15:02 (6 years ago) parentcf4eb4f
1 file changed−3
nixos/modules/virtualisation/oci-containers.nix−3
nixos/modules/virtualisation/oci-containers.nix−3
@@ -262,9 +262,6 @@ let
262262 postStop = "${cfg.backend} rm -f ${name} || true";
263263
264264 serviceConfig = {
265− StandardOutput = "null";
266− StandardError = "null";
267−
268265 ### There is no generalized way of supporting `reload` for docker
269266 ### containers. Some containers may respond well to SIGHUP sent to their
270267 ### init process, but it is not guaranteed; some apps have other reload