From 61637e4f3a4bcbf1d59689f639ebc932c56152b4 Mon Sep 17 00:00:00 2001 From: sils Date: Mon, 15 Jan 2024 15:26:01 +0100 Subject: sys/services/restic: trigger first backup 30min after system awakens --- sys/services/restic/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/services/restic') diff --git a/sys/services/restic/default.nix b/sys/services/restic/default.nix index 09c70a0..1bd886a 100644 --- a/sys/services/restic/default.nix +++ b/sys/services/restic/default.nix @@ -31,7 +31,7 @@ repository = "rclone: "; # There is only one repository served timerConfig = { Requires = "network-online.target"; - OnUnitActiveSec = "30m"; + OnActiveSec = "30m"; OnUnitInactiveSec = "2h"; Persistent = true; }; -- cgit 1.4.1