From ca1328a462e8af1c205678b3195ae311891efbcd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 5 Aug 2017 23:52:25 +0200 Subject: work on timers --- custom/uucp.nix | 1 + ymir.nix | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/uucp.nix b/custom/uucp.nix index 4e3f2e92..0f1b6485 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -284,6 +284,7 @@ in { }; systemd.timers."uucico@" = { + timerConfig.OnActiveSec = cfg.interval; timerConfig.OnUnitActiveSec = cfg.interval; }; diff --git a/ymir.nix b/ymir.nix index 146e9903..4884771e 100644 --- a/ymir.nix +++ b/ymir.nix @@ -627,12 +627,11 @@ in rec { wantedBy = [ "multi-user.target" ]; timerConfig = { + OnActiveSec = "10m"; OnUnitActiveSec = "10m"; }; }; - systemd.targets."multi-user".wants = ["mlmmj-maintd.timers"]; - systemd.services."mlmmj-maintd" = { description = "mlmmj maintenance daemon"; -- cgit v1.2.3