Skip to content

Instantly share code, notes, and snippets.

@Bachsau
Last active February 19, 2023 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bachsau/b8f9ef0095a741932bd0d85654ce8ec3 to your computer and use it in GitHub Desktop.
Save Bachsau/b8f9ef0095a741932bd0d85654ce8ec3 to your computer and use it in GitHub Desktop.
Single command to update a Certbot installed via pip
#!/bin/sh -eu
python3 -m venv --upgrade /opt/certbot
python3 -m venv --upgrade-deps /opt/certbot
/opt/certbot/bin/pip install --upgrade certbot certbot-dns-standalone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment