Skip to content
Snippets Groups Projects
Commit 41af7bb2 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove wildcards

parent b299676d
No related branches found
No related tags found
No related merge requests found
......@@ -378,8 +378,8 @@ function letsencrypt_renewals {
echo " if [[ \"\$LETSENCRYPT_DOMAIN\" != \"$DEFAULT_DOMAIN_NAME\" ]]; then";
echo " if ! grep -q \"\$LETSENCRYPT_DOMAIN\" /etc/nginx/sites-available/*; then";
echo ' # remove the cert';
echo " rm -rf \"/etc/letsencrypt/live/\${LETSENCRYPT_DOMAIN}*\"";
echo " rm -rf \"/etc/letsencrypt/archive/\${LETSENCRYPT_DOMAIN}*\"";
echo " rm -rf \"/etc/letsencrypt/live/\${LETSENCRYPT_DOMAIN}\"";
echo " rm -rf \"/etc/letsencrypt/archive/\${LETSENCRYPT_DOMAIN}\"";
echo " rm \"/etc/letsencrypt/renewal/\${LETSENCRYPT_DOMAIN}.conf\"";
echo ' fi';
echo ' fi';
......@@ -457,8 +457,8 @@ function letsencrypt_renewals {
echo " if [[ \"\$LETSENCRYPT_DOMAIN\" != \"$DEFAULT_DOMAIN_NAME\" ]]; then";
echo " if ! grep -q \"\$LETSENCRYPT_DOMAIN\" /etc/nginx/sites-available/*; then";
echo ' # remove the cert';
echo " rm -rf \"/etc/letsencrypt/live/\${LETSENCRYPT_DOMAIN}*\"";
echo " rm -rf \"/etc/letsencrypt/archive/\${LETSENCRYPT_DOMAIN}*\"";
echo " rm -rf \"/etc/letsencrypt/live/\${LETSENCRYPT_DOMAIN}\"";
echo " rm -rf \"/etc/letsencrypt/archive/\${LETSENCRYPT_DOMAIN}\"";
echo " rm \"/etc/letsencrypt/renewal/\${LETSENCRYPT_DOMAIN}.conf\"";
echo ' fi';
echo ' fi';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment