diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-05 23:33:54 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-05 23:33:54 +0200 |
| commit | 7268247d54b79d00ae39584ffb5f4c49d5ea10b8 (patch) | |
| tree | b49fc8ea4a61bbcb1563134ae65e9e018946d3c6 | |
| parent | 736d0a48409a98db01d0a975abb76560779ee5e6 (diff) | |
| download | nixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.tar nixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.tar.gz nixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.tar.bz2 nixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.tar.xz nixos-7268247d54b79d00ae39584ffb5f4c49d5ea10b8.zip | |
Work on timers
| -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 | ||
