zfs.autoSnapshot: make frequent run every 15 mins

fixes bug that there is 30 minutes between hh:45 and hh:15 every hour.
This commit is contained in:
Benjamin Andresen 2018-04-11 16:42:28 +02:00
parent 1d129ed65f
commit 96f10e7e49

View File

@ -452,7 +452,7 @@ in
}) snapshotNames);
systemd.timers = let
timer = name: if name == "frequent" then "*:15,30,45" else name;
timer = name: if name == "frequent" then "*:0,15,30,45" else name;
in builtins.listToAttrs (map (snapName:
{
name = "zfs-snapshot-${snapName}";