Alan Orth
a38d822fad
I can't remember where I had seen it recommended to be twice a day, but it seems overkill.
13 lines
223 B
SYSTEMD
13 lines
223 B
SYSTEMD
[Unit]
|
||
Description=Renew Let's Encrypt certificates
|
||
|
||
[Timer]
|
||
# once a day, at 2AM
|
||
OnCalendar=*-*-* 02:00:00
|
||
# Add a random delay of 0–3600 seconds
|
||
RandomizedDelaySec=3600
|
||
Persistent=true
|
||
|
||
[Install]
|
||
WantedBy=timers.target
|