diff --git a/install_certbot.sh b/install_certbot.sh index 9ad11c0..ac896a7 100644 --- a/install_certbot.sh +++ b/install_certbot.sh @@ -56,6 +56,7 @@ if [ -z $certbot_path ]; then sudo -p 'sudo password:' rm -f /usr/bin/certbot sudo -p 'sudo password:' ln -s /opt/certbot/bin/certbot /usr/bin/certbot sudo -p 'sudo password:' certbot register --email bohung@rulingcom.com --agree-tos -n + sudo -p 'sudo password:' certbot --nginx -n 2>/dev/null || true echo "Finish install certbot!" certbot_path="/usr/bin/certbot" else @@ -73,6 +74,7 @@ if [ -z $certbot_path ]; then sudo -p 'sudo password:' snap install --classic certbot sudo -p 'sudo password:' ln -s /snap/bin/certbot /usr/bin/certbot sudo -p 'sudo password:' certbot register --email bohung@rulingcom.com --agree-tos -n + sudo -p 'sudo password:' certbot --nginx -n 2>/dev/null || true echo "Finish install certbot!" certbot_path="/usr/bin/certbot" else