Merge pull request 'Borgmatic improvements (very old changes I forgot to merge)' (#84) from borgmatic_hourly into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #84
This commit is contained in:
commit
1ecffc2742
1 changed files with 5 additions and 0 deletions
|
@ -4,8 +4,13 @@
|
||||||
Description=Timer for borgmatic backup
|
Description=Timer for borgmatic backup
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
|
{% if borg_keep_hourly > 0 %}
|
||||||
OnCalendar=hourly
|
OnCalendar=hourly
|
||||||
RandomizedDelaySec=60m
|
RandomizedDelaySec=60m
|
||||||
|
{% else %}
|
||||||
|
OnCalendar=daily
|
||||||
|
RandomizedDelaySec=24h
|
||||||
|
{% endif %}
|
||||||
FixedRandomDelay=true
|
FixedRandomDelay=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue