Browse Source

remove matching letsencrypt folder when deleting an account

pull/63/head
Nicolas Roman 1 year ago
parent
commit
5cd4cff029
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      scripts/web-add.sh

+ 5
- 0
scripts/web-add.sh View File

@ -765,6 +765,11 @@ op_del() {
sed -i.bak "/-config=$login/d" /etc/cron.d/awstats
nginx -t
fi
if [ -d /etc/letsencrypt/"$login" ]; then
rm -r /etc/letsencrypt/"$login"
fi
set +x
if [ -n "$dbname" ]; then


Loading…
Cancel
Save