diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-30 02:12:54 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-30 02:12:54 +0200 |
commit | ffa8199ba43f52697c48608d8ce65a4a606a1d74 (patch) | |
tree | b4e8c43a8bfd3ccf97a5558ce655c5fbb9ebc443 | |
parent | 8bf8c148350300d9bfd1bb0b7b7a2a3bf6bba75a (diff) | |
download | nixos-ffa8199ba43f52697c48608d8ce65a4a606a1d74.tar nixos-ffa8199ba43f52697c48608d8ce65a4a606a1d74.tar.gz nixos-ffa8199ba43f52697c48608d8ce65a4a606a1d74.tar.bz2 nixos-ffa8199ba43f52697c48608d8ce65a4a606a1d74.tar.xz nixos-ffa8199ba43f52697c48608d8ce65a4a606a1d74.zip |
systemd…
-rw-r--r-- | ymir.nix | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -425,14 +425,19 @@ 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.timers."mlmmj-maintd" = { | 428 | system.timers."mlmmj-maintd" = { |
429 | description = "mlmmj maintenance daemon"; | 429 | description = "run mlmmj maintenance daemon"; |
430 | wantedBy = [ "multi-user.target" ]; | 430 | wantedBy = [ "multi-user.target" ]; |
431 | |||
431 | timerConfig = { | 432 | timerConfig = { |
432 | OnStartupSec = "7200"; | 433 | OnStartupSec = "7200"; |
433 | }; | 434 | }; |
435 | }; | ||
436 | |||
437 | systemd.services."mlmmj-maintd" = { | ||
438 | description = "mlmmj maintenance daemon"; | ||
434 | 439 | ||
435 | unitConfig = { | 440 | serviceConfig = { |
436 | User = "mlmmj"; | 441 | User = "mlmmj"; |
437 | Group = "mlmmj"; | 442 | Group = "mlmmj"; |
438 | ExecStart = "${pkgs.mlmmj}/bin/mlmmj-maintd -F -d /var/spool/lists"; | 443 | ExecStart = "${pkgs.mlmmj}/bin/mlmmj-maintd -F -d /var/spool/lists"; |