diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2022-08-10 15:20:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 15:20:52 +0200 |
commit | a7f89ddd6313ef88fc9c6534ac2511ba9da85fdb (patch) | |
tree | 2cf3c45076f624226e753e63ffbbe50fbdd51191 /nixos | |
parent | f2f95b120bda675c3eba6d6bf01360c5b9a78e9c (diff) | |
parent | ab2e77ea829c20eeb4f451b751b5ddd85e1307c6 (diff) |
Merge pull request #185763 from srhb/zfs-scrub-synchronously
nixos/zfs: scrub synchronously
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/tasks/filesystems/zfs.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index dcd83094b093a..1d661eae8275c 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -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 |