From 727bcc51aa37fe6cd86117b145db05804035720e Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Fri, 23 Dec 2022 04:10:21 -0500 Subject: [PATCH] phpipam: update tasks timer --- modules/phpipam.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/phpipam.nix b/modules/phpipam.nix index cf6a773..5d43aba 100644 --- a/modules/phpipam.nix +++ b/modules/phpipam.nix @@ -69,9 +69,12 @@ in ${cfg.phpPackage}/bin/php ${phpipamHtdocs}/functions/scripts/remove_offline_addresses.php ''; serviceConfig.User = "nginx"; - startAt = "*:0/15"; }; - timers.phpipam-tasks.timerConfig.RandomizedDelaySec = 600; + timers.phpipam-tasks = { + timerConfig.OnBootSec = 900; + timerConfig.OnUnitInactiveSec = 900; + wantedBy = [ "timers.target" ]; + }; }; services = {