Merge pull request #44 from lisuml/main

Fix support for systemd OnCalendar
This commit is contained in:
L3D 2021-11-30 01:43:57 +01:00 committed by GitHub
commit cca34cffae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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