git.iko.soy/typeable/nixpkgs
on master help sign in
ntpd: Fork into the background

With -n, ntpd will write log messages to both syslog and stderr, which is ugly.

commitb61d4ac6a5018f75d187761071be57fd4f6ae006 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateWed 28 Jan 2015, 14:48 (12 years ago) parent2140080
1 file changed+2−1
nixos/modules/services/networking/ntpd.nix+2−1
nixos/modules/services/networking/ntpd.nix+2−1
@@ -82,7 +82,8 @@ in
8282 '';
8383
8484 serviceConfig = {
85− ExecStart = "@${ntp}/bin/ntpd ntpd -g -n ${ntpFlags}";
85+ ExecStart = "@${ntp}/bin/ntpd ntpd -g ${ntpFlags}";
86+ Type = "forking";
8687 };
8788 };
8889