Skip to content

Commit

Permalink
U: ssl @ certbot renew - remove folder if exist
Browse files Browse the repository at this point in the history
  • Loading branch information
hqdNotional committed Jun 18, 2024
1 parent 7890192 commit 5b08115
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ssl/certbot-renew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ echo "Install pip and certbot dns cloudflare package"
install_binary_if_not_exist pip install_pip_binary
install_package_if_not_exist certbot-dns-cloudflare install_certbot_dns_cloudflare

# Remove certbot renew folder if exist
rm -rf $CERTBOT_DIR

# Write credentials to file
echo "Write credential to file"
cat << EOF | sudo tee -a $CREDENTIAL_PATH
Expand Down

0 comments on commit 5b08115

Please sign in to comment.