Merge branch 'del-letsencrypt' of evolix/evoadmin-web into master

This commit is contained in:
Nicolas Roman 2019-07-24 16:30:43 +02:00 committed by Gitea
commit a0f41b4b69

View file

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