Merge pull request #53965 from mayflower/zfs-autoscrub-fix
nixos/zfs: autoscrub only after boot is complete
This commit is contained in:
commit
859ce47b02
@ -535,6 +535,7 @@ in
|
|||||||
|
|
||||||
systemd.timers.zfs-scrub = {
|
systemd.timers.zfs-scrub = {
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
|
after = [ "multi-user.target" ]; # Apparently scrubbing before boot is complete hangs the system? #53583
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = cfgScrub.interval;
|
OnCalendar = cfgScrub.interval;
|
||||||
Persistent = "yes";
|
Persistent = "yes";
|
||||||
|
Loading…
Reference in New Issue
Block a user