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