feat(restic): allow delaying timer activation by a random delay in a specified interval

This commit is contained in:
2025-11-29 20:42:11 +01:00
parent 39b7190342
commit fb639db97c

View File

@@ -4,6 +4,9 @@ Description=Run {{ restic_timer_description | default(restic_job_name) }}
[Timer] [Timer]
OnCalendar={{ restic_policy.frequency }} OnCalendar={{ restic_policy.frequency }}
Unit={{ restic_systemd_unit_naming_scheme }}.service Unit={{ restic_systemd_unit_naming_scheme }}.service
{% if restic_systemd_timer_randomized_delay_sec %}
RandomizedDelaySec={{ restic_systemd_timer_randomized_delay_sec }}
{% endif %}
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target