Alan Orth
8bee2d7a72
This reverts commit a38d822fad
.
The docs definitely recommend twice a day. From a note on certbot's
installation page:
> if you're setting up a cron or systemd job, we recommend running
> it twice per day (it won't do anything until your certificates
> are due for renewal or revoked, but running it regularly would
> give your site a chance of staying online in case a Let's
> Encrypt-initiated revocation happened for some reason). Please
> select a random minute within the hour for your renewal tasks.
See: https://certbot.eff.org/#ubuntuxenial-nginx
13 lines
241 B
SYSTEMD
13 lines
241 B
SYSTEMD
[Unit]
|
||
Description=Renew Let's Encrypt certificates
|
||
|
||
[Timer]
|
||
# twice a day, at midnight and noon
|
||
OnCalendar=*-*-* 00,12:00:00
|
||
# Add a random delay of 0–3600 seconds
|
||
RandomizedDelaySec=3600
|
||
Persistent=true
|
||
|
||
[Install]
|
||
WantedBy=timers.target
|