ntpd: Fork into the background

With -n, ntpd will write log messages to both syslog and stderr, which
is ugly.
This commit is contained in:
Eelco Dolstra 2015-01-28 14:48:01 +01:00
parent 2140080b08
commit b61d4ac6a5

View file

@ -82,7 +82,8 @@ in
'';
serviceConfig = {
ExecStart = "@${ntp}/bin/ntpd ntpd -g -n ${ntpFlags}";
ExecStart = "@${ntp}/bin/ntpd ntpd -g ${ntpFlags}";
Type = "forking";
};
};