Optimized randomized_delay_sec, persistend & on_calendar for systemd-timer

This commit is contained in:
2023-04-16 10:33:21 +02:00
parent 01231cab6b
commit 0591f927ec
15 changed files with 45 additions and 21 deletions

View File

@@ -1,10 +0,0 @@
[Unit]
Description=Twice daily renewal of Let's Encrypt's certificates
[Timer]
OnCalendar=0/12:00:00
RandomizedDelaySec=1h
Persistent=true
[Install]
WantedBy=timers.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Renewal of Let's Encrypt's certificates
[Timer]
OnCalendar=0/12:00:00
RandomizedDelaySec={{randomized_delay_sec}}
Persistent=true
[Install]
WantedBy=timers.target