nixosTests.cockroachdb: set ConditionPathExists=/dev/ptp0 to chronyd

This commit is contained in:
Florian Klink 2019-11-23 19:31:27 +01:00
parent f25a301a0a
commit fe6dd71f72

View File

@ -88,6 +88,8 @@ let
services.cockroachdb.listen.address = myAddr;
services.cockroachdb.join = lib.mkIf (joinNode != null) joinNode;
systemd.services.chronyd.unitConfig.ConditionPathExists = "/dev/ptp0";
# Hold startup until Chrony has performed its first measurement (which
# will probably result in a full timeskip, thanks to makestep)
systemd.services.cockroachdb.preStart = ''