aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-server/certbot/scripts/renew-certificates.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-19 08:02:22 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-19 08:02:22 +0000
commit28ed4f737330a1ec42b5493a24faa9fd13eefe91 (patch)
treed4b974facc20e84c1f8e06423aed0012b36649e1 /matrix-server/certbot/scripts/renew-certificates.sh
parentmatrix server update...almost working...WIP (diff)
downloaddockerimages-28ed4f737330a1ec42b5493a24faa9fd13eefe91.tar.gz
dockerimages-28ed4f737330a1ec42b5493a24faa9fd13eefe91.zip
update, debugging the haproxy config
Diffstat (limited to 'matrix-server/certbot/scripts/renew-certificates.sh')
-rw-r--r--matrix-server/certbot/scripts/renew-certificates.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/matrix-server/certbot/scripts/renew-certificates.sh b/matrix-server/certbot/scripts/renew-certificates.sh
index ff56115..032486a 100644
--- a/matrix-server/certbot/scripts/renew-certificates.sh
+++ b/matrix-server/certbot/scripts/renew-certificates.sh
@@ -1,19 +1,10 @@
#!/bin/sh
echo "running renew certs..."
-# Certificates exist
if [ -d /etc/letsencrypt/live/terminaldweller.com ]; then
- # Check certificates and renew them
certbot renew --http-01-port=380
-
- # Concatenate certificates
. /etc/scripts/concatenate-certificates.sh
-
- # Update certificates in HAProxy
. /etc/scripts/update-haproxy-certificates.sh
-
-# Certificates don't exist
else
- # Execute certificate creation script
. /etc/scripts/create-certificates.sh
fi