Updating certbot-renewal script

This commit is contained in:
Tyler Hale 2023-02-06 10:22:44 -07:00
parent f26dff8664
commit 635628222f
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96

View file

@ -22,12 +22,6 @@ if [[ $(hostname -I)[*] =~ $VIRTUAL_IP ]]; then
# tar the letsencrypt directory for transferring to other members with symlinks
tar cfP $TARFILE /etc/letsencrypt/
# Add each letsencrypt cert to the tarball
for cert in /etc/letsencrypt/live/*/ ;
do
tar ufP $TARFILE /etc/haproxy/ssl/$(basename $cert).pem
done
# Compress the file for transfer
gzip -f9 $TARFILE