Increase RandomizedDelaySec when hourly = 0
This commit is contained in:
parent
c8a877282f
commit
bb97bca456
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue