1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

nixos/zfs: autoscrub only after boot is complete

Fixes #53583
This commit is contained in:
Linus Heckemann 2019-01-14 20:55:37 +01:00
parent 0dc4a9bb50
commit 783f2c84e8

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