Delete mailpile user on removal
This commit is contained in:
parent
ce3761afcb
commit
06a228f3e6
|
@ -123,6 +123,9 @@ function remove_mailpile {
|
||||||
fi
|
fi
|
||||||
function_check remove_ddns_domain
|
function_check remove_ddns_domain
|
||||||
remove_ddns_domain $MAILPILE_DOMAIN_NAME
|
remove_ddns_domain $MAILPILE_DOMAIN_NAME
|
||||||
|
deluser --remove-all-files mailpile
|
||||||
|
else
|
||||||
|
deluser mailpile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
remove_config_param MAILPILE_DOMAIN_NAME
|
remove_config_param MAILPILE_DOMAIN_NAME
|
||||||
|
|
Loading…
Reference in New Issue