diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-30 02:10:27 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-30 02:10:27 +0200 |
commit | fd25e619fa9de11a8002479d61b61057f5820ca0 (patch) | |
tree | 6b8acaeef8af66409cb237ee2cf3a6eeb3c865bc /ymir.nix | |
parent | a86a3b08f4b6251d73287a9ae56a31cd3521f76e (diff) | |
download | nixos-fd25e619fa9de11a8002479d61b61057f5820ca0.tar nixos-fd25e619fa9de11a8002479d61b61057f5820ca0.tar.gz nixos-fd25e619fa9de11a8002479d61b61057f5820ca0.tar.bz2 nixos-fd25e619fa9de11a8002479d61b61057f5820ca0.tar.xz nixos-fd25e619fa9de11a8002479d61b61057f5820ca0.zip |
mlmmj-maintd should be a timer
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -425,9 +425,12 @@ in rec { | |||
425 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; | 425 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; |
426 | }; | 426 | }; |
427 | 427 | ||
428 | systemd.services."mlmmj-maintd" = { | 428 | systemd.timers."mlmmj-maintd" = { |
429 | description = "mlmmj maintenance daemon"; | 429 | description = "mlmmj maintenance daemon"; |
430 | wantedBy = [ "multi-user.target" ]; | 430 | wantedBy = [ "multi-user.target" ]; |
431 | timerConfig = { | ||
432 | OnStartupSec = "7200"; | ||
433 | }; | ||
431 | 434 | ||
432 | serviceConfig = { | 435 | serviceConfig = { |
433 | User = "mlmmj"; | 436 | User = "mlmmj"; |