2
0

add readiness support for ntp

This commit is contained in:
2025-10-29 21:16:49 +00:00
parent 32f0be84be
commit 5c4004e1b8
+5 -1
View File
@@ -32,5 +32,9 @@ let
in
longrun {
inherit name;
run = "${chrony}/bin/chronyd -f ${config} -d";
notification-fd = 10;
run = ''
( ${chrony}/bin/chronyc waitsync ; echo > /proc/self/fd/10 ) &
${chrony}/bin/chronyd -f ${config} -d
'';
}