mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-12-11 20:30:18 +01:00
Merge pull request #44 from lisuml/main
Fix support for systemd OnCalendar
This commit is contained in:
commit
cca34cffae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue