aboutsummaryrefslogblamecommitdiffstats
path: root/matrix-server/certbot/scripts/renew-certificates.sh
blob: 032486ab0f5205542583e506cd257d1a08e2434b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
         
 
                             
                                                         
                                  
                                            
                                               
    

                                       
#!/bin/sh

echo "running renew certs..."
if [ -d /etc/letsencrypt/live/terminaldweller.com ]; then
  certbot renew --http-01-port=380
  . /etc/scripts/concatenate-certificates.sh
  . /etc/scripts/update-haproxy-certificates.sh
else
  . /etc/scripts/create-certificates.sh
fi