diff options
-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"; |