jelastic-jps / lets-encrypt

Let’s Encrypt Add-on for Jelastic PaaS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cleanup /etc/letsencrypt on uninstall

bubbl opened this issue · comments

Apart from removing the add-on, script should also take care of file cleanup, so remove whole /etc/letsencrypt

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.

Bart, thanks! )