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 /ymir.nix | |
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
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 | ||