diff options
author | Kirill Elagin <kirelagin@gmail.com> | 2017-06-18 15:31:34 +0300 |
---|---|---|
committer | Kirill Elagin <kirelagin@gmail.com> | 2017-06-18 15:31:34 +0300 |
commit | e66d2753f3a8a35bc8b96a0db054ed598d4df4f6 (patch) | |
tree | 1d77fa4185bb213a14a197f87ea9ecbfb3eaa56a /nixos/modules/services/networking/nsd.nix | |
parent | 08d25152b85fb24f7b5b85efe25d6be4deb12227 (diff) |
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.
Diffstat (limited to 'nixos/modules/services/networking/nsd.nix')
-rw-r--r-- | nixos/modules/services/networking/nsd.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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"; |