From 82220a1fc4a4fa4de21b33f5ce0591b2b859474a Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 25 May 2016 11:06:40 +0200 Subject: tv xserver: log to journal instead of file This is a partial backport of NixOS/nixpkgs d84741a. --- tv/2configs/xserver/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tv/2configs/xserver') diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix index 10db7f57d..0eafd246b 100644 --- a/tv/2configs/xserver/default.nix +++ b/tv/2configs/xserver/default.nix @@ -95,14 +95,13 @@ in { ++ concatLists (catAttrs "libPath" config.services.xserver.drivers)); }; serviceConfig = { - SyslogIdentifier = "xserver"; ExecReload = "${pkgs.need-reload}/bin/need-reload xserver.service"; ExecStart = toString [ "${pkgs.xorg.xorgserver}/bin/X" ":${toString config.services.xserver.display}" "vt${toString config.services.xserver.tty}" "-config ${import ./xserver.conf.nix args}" - "-logfile /var/log/X.${toString config.services.xserver.display}.log" + "-logfile /dev/null -logverbose 0 -verbose 3" "-nolisten tcp" "-xkbdir ${pkgs.xkeyboard_config}/etc/X11/xkb" ]; -- cgit v1.2.3