reload nginx after letsencrypt renewal cron job

This commit is contained in:
Elizabeth Hunt 2024-01-14 17:08:40 -07:00
parent 32beedf5dc
commit a1ff343f7d
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -88,4 +88,4 @@
cron:
name: "letsencrypt_renewal"
special_time: "daily"
job: "REQUESTS_CA_BUNDLE=/usr/local/share/ca-certificates/{{ step_bootstrap_ca_url }}.crt letsencrypt renew --force-renewal"
job: "REQUESTS_CA_BUNDLE=/usr/local/share/ca-certificates/{{ step_bootstrap_ca_url }}.crt letsencrypt renew --force-renewal --non-interactive && systemctl reload nginx"