diff options
author | Brad Warren <bmw@users.noreply.github.com> | 2020-12-21 20:02:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 20:02:22 +0300 |
commit | 8e7353900ccacaae015043eae15e7eee0a031e90 (patch) | |
tree | 938563d561b7a19bb6eb4af870a385a6f2ea8949 | |
parent | 1146f3551992aeddff9991ef1aeef856d7540ee9 (diff) |
Add certbot-auto uninstall docs (#8552)
This is part of #8545.
* add certbot-auto uninstall docs
* add uninstall.rst
* write a more aggressive sed command
-rw-r--r-- | certbot/docs/install.rst | 2 | ||||
-rw-r--r-- | certbot/docs/uninstall.rst | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/certbot/docs/install.rst b/certbot/docs/install.rst index df32bb60e..aefe1809e 100644 --- a/certbot/docs/install.rst +++ b/certbot/docs/install.rst @@ -243,6 +243,8 @@ Certbot-Auto We used to have a shell script named ``certbot-auto`` to help people install Certbot on UNIX operating systems, however, this script is no longer supported. +If you want to uninstall ``certbot-auto``, you can follow our instructions +:doc:`here <uninstall>`. Problems with Python virtual environment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/certbot/docs/uninstall.rst b/certbot/docs/uninstall.rst new file mode 100644 index 000000000..65151242c --- /dev/null +++ b/certbot/docs/uninstall.rst @@ -0,0 +1,16 @@ +========================= +Uninstalling certbot-auto +========================= + +To uninstall ``certbot-auto``, you need to do three things: + +1. If you added a cron job or systemd timer to automatically run + ``certbot-auto`` to renew your certificates, you should delete it. If you + did this by following our instructions, you can delete the entry added to + ``/etc/crontab`` by running a command like ``sudo sed -i '/certbot-auto/d' + /etc/crontab``. +2. Delete the ``certbot-auto`` script. If you placed it in ``/usr/local/bin`` + like we recommended, you can delete it by running ``sudo rm + /usr/local/bin/certbot-auto``. +3. Delete the Certbot installation created by ``certbot-auto`` by running + ``sudo rm -rf /opt/eff.org``. |