To allow easy reinstalls don't remove certs

This commit is contained in:
Bob Mottram 2016-11-13 10:30:15 +00:00
parent 95cf995808
commit 4dc616dbec
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ function remove_mailpile {
read_config_param "MAILPILE_DOMAIN_NAME" read_config_param "MAILPILE_DOMAIN_NAME"
nginx_dissite $MAILPILE_DOMAIN_NAME nginx_dissite $MAILPILE_DOMAIN_NAME
remove_certs ${MAILPILE_DOMAIN_NAME} # remove_certs ${MAILPILE_DOMAIN_NAME}
if [ -f /etc/nginx/sites-available/$MAILPILE_DOMAIN_NAME ]; then if [ -f /etc/nginx/sites-available/$MAILPILE_DOMAIN_NAME ]; then
rm -f /etc/nginx/sites-available/$MAILPILE_DOMAIN_NAME rm -f /etc/nginx/sites-available/$MAILPILE_DOMAIN_NAME
fi fi