add timer options
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/docs unknown status
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-09-28 22:27:11 +02:00
parent 086bfba7d3
commit 39a07225b7
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 4 deletions

View File

@ -29,6 +29,6 @@ lego_key_type: "ec256"
# @end # @end
lego_certificates: [] lego_certificates: []
lego_cron_enabled: True lego_renew_enabled: True
lego_cron_minute: "0" lego_renew_interval: "*-*-* 1:35"
lego_cron_hour: "2" lego_renew_randomized_delay: "1h"

View File

@ -2,8 +2,9 @@
Description=Lego renew Description=Lego renew
[Timer] [Timer]
OnCalendar={{ lego_renew_interval }}
Persistent=true Persistent=true
OnCalendar={{ lego_renew_interval }}
RandomizedDelaySec={{ lego_renew_randomized_delay }}
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target