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