Merge pull request #53965 from mayflower/zfs-autoscrub-fix

nixos/zfs: autoscrub only after boot is complete
This commit is contained in:
Jörg Thalheim 2019-01-22 10:48:17 +00:00 committed by GitHub
commit 859ce47b02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";