diff options
author | Julien Moutinho <julm+nixpkgs@sourcephile.fr> | 2020-09-22 11:29:21 +0200 |
---|---|---|
committer | Julien Moutinho <julm+nixpkgs@sourcephile.fr> | 2021-07-24 11:26:28 +0200 |
commit | d05a1ab1e4c21a956d883af2252818c4ca486d1e (patch) | |
tree | 1c8c6192710606206cb3665d0fc02525d69f8168 /nixos/tests/sanoid.nix | |
parent | fd374934efcd10061cbdc7e314d8e1c67d329200 (diff) |
nixos/syncoid: split in multiple systemd services
Diffstat (limited to 'nixos/tests/sanoid.nix')
-rw-r--r-- | nixos/tests/sanoid.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/sanoid.nix b/nixos/tests/sanoid.nix index c691bfc08ef72..cac6d8101f541 100644 --- a/nixos/tests/sanoid.nix +++ b/nixos/tests/sanoid.nix @@ -44,7 +44,7 @@ in { # Sync snapshot taken by sanoid "pool/sanoid" = { target = "root@target:pool/sanoid"; - extraArgs = [ "--no-sync-snap" ]; + extraArgs = [ "--no-sync-snap" "--create-bookmark" ]; }; # Take snapshot and sync "pool/syncoid".target = "root@target:pool/syncoid"; @@ -92,8 +92,9 @@ in { # Sync snapshots target.wait_for_open_port(22) source.succeed("touch /mnt/pool/syncoid/test.txt") - source.systemctl("start --wait syncoid.service") + source.systemctl("start --wait syncoid-pool-sanoid.service") target.succeed("cat /mnt/pool/sanoid/test.txt") + source.systemctl("start --wait syncoid-pool-syncoid.service") target.succeed("cat /mnt/pool/syncoid/test.txt") ''; }) |