ansible_role_restic/templates/restic.timer.j2

10 lines
282 B
Django/Jinja

[Unit]
Description=Run restic backup {{ item.name }} every night
[Timer]
OnCalendar={{ item.schedule_oncalendar | default(restic_systemd_timer_default_oncalendar) }}
RandomizedDelaySec={{ restic_systemd_timer_randomizeddelaysec }}
Persistent=true
[Install]
WantedBy=timers.target