To allow easy reinstalls don't remove certs
This commit is contained in:
parent
95cf995808
commit
4dc616dbec
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue