bundles/zfs: configurable scrub time

This commit is contained in:
Franzi 2024-09-15 10:26:51 +02:00
parent a712c098c6
commit ce76b03fe7
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -170,7 +170,7 @@ def scrub_timer(metadata):
'systemd-timers': {
'timers': {
'zfs-scrub': {
'when': 'Sun 02:00:00 UTC',
'when': metadata.get('zfs/scrub_when', 'Sun 02:00:00 UTC'),
'command': scrubs,
},
},