Increase RandomizedDelaySec when hourly = 0
Some checks reported errors
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build encountered an error

This commit is contained in:
jeltz 2021-05-23 14:09:01 +02:00
parent c8a877282f
commit bb97bca456

View file

@ -6,10 +6,11 @@ Description=Timer for borgmatic backup
[Timer]
{% if borg_keep_hourly > 0 %}
OnCalendar=hourly
RandomizedDelaySec=60m
{% else %}
OnCalendar=daily
RandomizedDelaySec=24h
{% endif %}
RandomizedDelaySec=60m
FixedRandomDelay=true
[Install]