diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2019-01-22 10:48:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 10:48:17 +0000 |
commit | 859ce47b023d80ccbcf446a112c813972a5949b6 (patch) | |
tree | b36be44366e7b9f3ba214368aff1422228bffb4a /nixos/modules/tasks/filesystems | |
parent | 7be21c57ad11232d955ca58e44c05d34a8ce7f88 (diff) | |
parent | 783f2c84e863e6d98c5f20d83d8aa10c87e2083e (diff) | |
download | nixlib-859ce47b023d80ccbcf446a112c813972a5949b6.tar nixlib-859ce47b023d80ccbcf446a112c813972a5949b6.tar.gz nixlib-859ce47b023d80ccbcf446a112c813972a5949b6.tar.bz2 nixlib-859ce47b023d80ccbcf446a112c813972a5949b6.tar.lz nixlib-859ce47b023d80ccbcf446a112c813972a5949b6.tar.xz nixlib-859ce47b023d80ccbcf446a112c813972a5949b6.tar.zst nixlib-859ce47b023d80ccbcf446a112c813972a5949b6.zip |
Merge pull request #53965 from mayflower/zfs-autoscrub-fix
nixos/zfs: autoscrub only after boot is complete
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r-- | nixos/modules/tasks/filesystems/zfs.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index 8f8c9e23e13e..37a19fb9fc8c 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -535,6 +535,7 @@ in systemd.timers.zfs-scrub = { wantedBy = [ "timers.target" ]; + after = [ "multi-user.target" ]; # Apparently scrubbing before boot is complete hangs the system? #53583 timerConfig = { OnCalendar = cfgScrub.interval; Persistent = "yes"; |