diff options
-rw-r--r-- | custom/uucp.nix | 2 | ||||
-rw-r--r-- | ymir.nix | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix index add9704c..98a2b6c9 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix | |||
@@ -284,7 +284,7 @@ in { | |||
284 | }; | 284 | }; |
285 | 285 | ||
286 | systemd.timers."uucico@" = { | 286 | systemd.timers."uucico@" = { |
287 | timerConfig.OnUnitInactiveSec = cfg.interval; | 287 | timerConfig.OnActiveSec = cfg.interval; |
288 | }; | 288 | }; |
289 | 289 | ||
290 | systemd.targets."multi-user" = { | 290 | systemd.targets."multi-user" = { |
@@ -627,10 +627,12 @@ in rec { | |||
627 | wantedBy = [ "multi-user.target" ]; | 627 | wantedBy = [ "multi-user.target" ]; |
628 | 628 | ||
629 | timerConfig = { | 629 | timerConfig = { |
630 | OnUnitInactiveSec = "10m"; | 630 | OnActiveSec = "10m"; |
631 | }; | 631 | }; |
632 | }; | 632 | }; |
633 | 633 | ||
634 | systemd.targets."multi-user".wants = ["mlmmj-maintd.timers"]; | ||
635 | |||
634 | systemd.services."mlmmj-maintd" = { | 636 | systemd.services."mlmmj-maintd" = { |
635 | description = "mlmmj maintenance daemon"; | 637 | description = "mlmmj maintenance daemon"; |
636 | 638 | ||