Cleanup /etc/letsencrypt on uninstall
bubbl opened this issue · comments
Bart Bania commented
Apart from removing the add-on, script should also take care of file cleanup, so remove whole /etc/letsencrypt
Bart Bania commented
think this can be solved by adjusting uninstall logic:
//uninstall logic
if (getParam("uninstall")){
[...]
resp = ExecCmdById("rm -rf /etc/letsencrypt /opt/letsencrypt /root/auto-update-ssl-cert.sh /root/generate-ssl-cert.sh /root/letsencrypt_settings /root/install-le.sh")
debug.push(resp);
[...]
}
or something similar to this.
ihorman commented
Bart, thanks! )