summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-08-05 23:52:25 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-08-05 23:52:25 +0200
commitca1328a462e8af1c205678b3195ae311891efbcd (patch)
tree7a0f7282547e28a6738eda994d22f2094035a191
parentf1e004317efd1a8b350d8d15a32432fd31618bfe (diff)
downloadnixos-ca1328a462e8af1c205678b3195ae311891efbcd.tar
nixos-ca1328a462e8af1c205678b3195ae311891efbcd.tar.gz
nixos-ca1328a462e8af1c205678b3195ae311891efbcd.tar.bz2
nixos-ca1328a462e8af1c205678b3195ae311891efbcd.tar.xz
nixos-ca1328a462e8af1c205678b3195ae311891efbcd.zip
work on timers
-rw-r--r--custom/uucp.nix1
-rw-r--r--ymir.nix3
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 {
284 }; 284 };
285 285
286 systemd.timers."uucico@" = { 286 systemd.timers."uucico@" = {
287 timerConfig.OnActiveSec = cfg.interval;
287 timerConfig.OnUnitActiveSec = cfg.interval; 288 timerConfig.OnUnitActiveSec = cfg.interval;
288 }; 289 };
289 290
diff --git a/ymir.nix b/ymir.nix
index 146e9903..4884771e 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -627,12 +627,11 @@ in rec {
627 wantedBy = [ "multi-user.target" ]; 627 wantedBy = [ "multi-user.target" ];
628 628
629 timerConfig = { 629 timerConfig = {
630 OnActiveSec = "10m";
630 OnUnitActiveSec = "10m"; 631 OnUnitActiveSec = "10m";
631 }; 632 };
632 }; 633 };
633 634
634 systemd.targets."multi-user".wants = ["mlmmj-maintd.timers"];
635
636 systemd.services."mlmmj-maintd" = { 635 systemd.services."mlmmj-maintd" = {
637 description = "mlmmj maintenance daemon"; 636 description = "mlmmj maintenance daemon";
638 637