diff options
author | Florian Klink <flokli@flokli.de> | 2019-11-23 19:31:27 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-04-03 00:34:18 +0200 |
commit | fe6dd71f72ad53f8556498f6c1fb97f4004df6d5 (patch) | |
tree | 4f5861d85e1877a2eb2e1e99b436220de635e6e7 /nixos/tests/cockroachdb.nix | |
parent | f25a301a0a98a96b54b1a221c2dd410a3b32c4f1 (diff) |
nixosTests.cockroachdb: set ConditionPathExists=/dev/ptp0 to chronyd
Diffstat (limited to 'nixos/tests/cockroachdb.nix')
-rw-r--r-- | nixos/tests/cockroachdb.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/cockroachdb.nix b/nixos/tests/cockroachdb.nix index a03a223d66a3..d0cc5e19837c 100644 --- a/nixos/tests/cockroachdb.nix +++ b/nixos/tests/cockroachdb.nix @@ -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 = '' |