From fd25e619fa9de11a8002479d61b61057f5820ca0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 30 May 2016 02:10:27 +0200 Subject: mlmmj-maintd should be a timer --- ymir.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ymir.nix b/ymir.nix index 4605b7c1..4277bc7e 100644 --- a/ymir.nix +++ b/ymir.nix @@ -425,9 +425,12 @@ in rec { networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; }; - systemd.services."mlmmj-maintd" = { + systemd.timers."mlmmj-maintd" = { description = "mlmmj maintenance daemon"; wantedBy = [ "multi-user.target" ]; + timerConfig = { + OnStartupSec = "7200"; + }; serviceConfig = { User = "mlmmj"; -- cgit v1.2.3