* Indentation.

svn path=/nixos/trunk/; revision=11231
This commit is contained in:
Eelco Dolstra 2008-03-20 14:38:49 +00:00
parent e32a8437d5
commit 2cc2831563

View File

@ -6,11 +6,11 @@ let
ntpUser = "ntp";
config = writeText "ntp.conf" "
config = writeText "ntp.conf" ''
driftfile ${stateDir}/ntp.drift
${toString (map (server: "server " + server + "\n") servers)}
";
'';
ntpFlags = "-c ${config} -u ${ntpUser}:nogroup -i ${stateDir}";
@ -27,8 +27,8 @@ in
}
];
job = "
description \"NTP daemon\"
job = ''
description "NTP daemon"
start on ip-up
stop on ip-down
@ -47,6 +47,6 @@ start script
end script
respawn ${ntp}/bin/ntpd -n ${ntpFlags}
";
'';
}