From e66d2753f3a8a35bc8b96a0db054ed598d4df4f6 Mon Sep 17 00:00:00 2001 From: Kirill Elagin Date: Sun, 18 Jun 2017 15:31:34 +0300 Subject: [PATCH] nsd: Send stderr to /dev/null nsd by default logs _both_ to syslog and to standard error which results in all the messages ending up in the journal twice, the ones from stderr with an ugly timestamp sticked in front of them. --- nixos/modules/services/networking/nsd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/nsd.nix b/nixos/modules/services/networking/nsd.nix index 0f01b9d4af04..c8b8ed547ebb 100644 --- a/nixos/modules/services/networking/nsd.nix +++ b/nixos/modules/services/networking/nsd.nix @@ -811,6 +811,7 @@ in serviceConfig = { ExecStart = "${nsdPkg}/sbin/nsd -d -c ${nsdEnv}/nsd.conf"; + StandardError = "null"; PIDFile = pidFile; Restart = "always"; RestartSec = "4s";