From ce76b03fe77983db7c50c2aadf53836adb85138d Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 15 Sep 2024 10:26:51 +0200 Subject: [PATCH] bundles/zfs: configurable scrub time --- bundles/zfs/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/zfs/metadata.py b/bundles/zfs/metadata.py index a270d5f..01ed900 100644 --- a/bundles/zfs/metadata.py +++ b/bundles/zfs/metadata.py @@ -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, }, },