Unverified Commit a7f89ddd authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

Merge pull request #185763 from srhb/zfs-scrub-synchronously

nixos/zfs: scrub synchronously
parents f2f95b12 ab2e77ea
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -767,10 +767,10 @@ in
        description = "ZFS pools scrubbing";
        after = [ "zfs-import.target" ];
        serviceConfig = {
          Type = "oneshot";
          Type = "simple";
        };
        script = ''
          ${cfgZfs.package}/bin/zpool scrub ${
          ${cfgZfs.package}/bin/zpool scrub -w ${
            if cfgScrub.pools != [] then
              (concatStringsSep " " cfgScrub.pools)
            else