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.
This commit is contained in:
Kirill Elagin 2017-06-18 15:31:34 +03:00
parent 08d25152b8
commit e66d2753f3

View File

@ -811,6 +811,7 @@ in
serviceConfig = {
ExecStart = "${nsdPkg}/sbin/nsd -d -c ${nsdEnv}/nsd.conf";
StandardError = "null";
PIDFile = pidFile;
Restart = "always";
RestartSec = "4s";