Merge pull request #324884 from SuperSandro2000/locate-persist-timer

nixos/locate: persist updatedb timer
This commit is contained in:
Aaron Andersen 2024-07-07 08:28:46 -04:00 committed by GitHub
commit a25848c974
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -297,7 +297,10 @@ in
description = "Update timer for locate database";
partOf = [ "update-locatedb.service" ];
wantedBy = [ "timers.target" ];
timerConfig.OnCalendar = cfg.interval;
timerConfig = {
OnCalendar = cfg.interval;
Persistent = true;
};
};
};