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

Remove wildcards

parent 41af7bb2
No related branches found
No related tags found
No related merge requests found
......@@ -183,8 +183,8 @@ function remove_cert_letsencrypt {
fi
# remove the cert
rm -rf "/etc/letsencrypt/live/${LETSENCRYPT_HOSTNAME}*"
rm -rf "/etc/letsencrypt/archive/${LETSENCRYPT_HOSTNAME}*"
rm -rf "/etc/letsencrypt/live/${LETSENCRYPT_HOSTNAME}"
rm -rf "/etc/letsencrypt/archive/${LETSENCRYPT_HOSTNAME}"
rm "/etc/letsencrypt/renewal/${LETSENCRYPT_HOSTNAME}.conf"
# restart the web server
......
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