how about something like this in certbot-auto ?
(...) say "Installation succeeded." fi if [ -x "$POSTUPDATE_HOOK" ]; then say "run postupdate hook." "$POSTUPDATE_HOOK" "$VENV_PATH" fi if [ "$INSTALL_ONLY" = 1 ]; then say "Certbot is installed." exit 0 fi "$VENV_BIN/letsencrypt" "$@"
then start certbot-auto like this:
and in postupdate file something like this
$1/bin/pip install certbot-dns-linode
I tested it under python2 and python3 by deleting the venv (sudo rm /opt/eff.org) and restarting and the plugin was here after restarting certbot-auto.
That’s not efficient yes, but it could get a result in some cases where the desired dns interface is not yet available for system packages.