[ungleich-certbot] update renew_cert.sh for Task#12236
This commit is contained in:
parent
837887a66c
commit
217b8c2e95
2 changed files with 6 additions and 1 deletions
|
@ -136,6 +136,10 @@ Added support for nginx webserver, based on official nginx image
|
|||
|
||||
- change renew_cert.sh file name for run-parts
|
||||
|
||||
### 1.1.5
|
||||
|
||||
- update renew_cert.sh for periodic renew
|
||||
|
||||
## Kubernetes
|
||||
|
||||
See https://code.ungleich.ch/ungleich-public/ungleich-k8s/.
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
|
||||
if [ "$NO_NGINX" ]; then
|
||||
/usr/bin/certbot renew --standalone
|
||||
elif [ -n "`grep -r standalone /etc/letsencrypt/renewal`" ]; then
|
||||
/usr/bin/certbot renew --force-renew --webroot --webroot-path /www_http
|
||||
else
|
||||
/usr/bin/certbot renew --webroot --webroot-path /www_http
|
||||
|
||||
fi
|
||||
|
||||
# Correct permissions if not told otherwise
|
||||
|
|
Loading…
Reference in a new issue