From 132126abe3b9a15763eafca8529324e6b124ac97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Lisowski?= Date: Mon, 29 Nov 2021 18:58:35 +0100 Subject: [PATCH] Fix #10: support for systemd OnCalendar --- templates/restic.timer.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/restic.timer.j2 b/templates/restic.timer.j2 index e48a18a..da21b60 100644 --- a/templates/restic.timer.j2 +++ b/templates/restic.timer.j2 @@ -2,7 +2,7 @@ Description=Run restic backup {{ item.name }} every night [Timer] -OnCalendar={{ restic_systemd_timer_default_OnCalendar }} +OnCalendar={{ item.schedule_oncalendar | default(restic_systemd_timer_default_OnCalendar) }} RandomizedDelaySec={{ restic_systemd_timer_randomizeddelaysec }} Persistent=true