summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/ymir.nix b/ymir.nix
index b9da44f0..8b6d29b8 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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";