Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(letsencrypt) avoid using hardcoded path
Oliver Schneiderec96acac7158
diff --git a/resources/install-letsencrypt-cert.sh b/resources/install-letsencrypt-cert.shindex d9f827c99b..306ae1fc32 100755--- a/resources/install-letsencrypt-cert.sh+++ b/resources/install-letsencrypt-cert.sh@@ -23,7 +23,8 @@ echo "by providing an email address for important account notifications"echo -n "Enter your email and press [ENTER]: "read EMAIL-if [ ! -x "$(command -v certbot)" ] ; then+CERTBOT="$(command -v certbot)"+if [ ! -x "$CERTBOT" ] ; thenDISTRO=$(lsb_release -is)DISTRO_VERSION=$(lsb_release -rs)if [ "$DISTRO" = "Debian" ]; then@@ -56,7 +57,7 @@ if [ ! -d "/etc/cron.weekly" ] ; thenmkdir "/etc/cron.weekly"fiecho "#!/bin/bash" > $CRON_FILE-echo "/usr/bin/certbot renew >> /var/log/le-renew.log" >> $CRON_FILE+echo "$CERTBOT renew >> /var/log/le-renew.log" >> $CRON_FILECERT_KEY="/etc/letsencrypt/live/$DOMAIN/privkey.pem"CERT_CRT="/etc/letsencrypt/live/$DOMAIN/fullchain.pem"@@ -72,13 +73,13 @@ if [ -f /etc/nginx/sites-enabled/$DOMAIN.conf ] ; thenchmod u+x $TURN_HOOKsed -i "s/jitsi-meet.example.com/$DOMAIN/g" $TURN_HOOK- /usr/bin/certbot certonly --noninteractive \+ $CERTBOT certonly --noninteractive \--webroot --webroot-path /usr/share/jitsi-meet \-d $DOMAIN \--agree-tos --email $EMAIL \--deploy-hook $TURN_HOOKelse- /usr/bin/certbot certonly --noninteractive \+ $CERTBOT certonly --noninteractive \--webroot --webroot-path /usr/share/jitsi-meet \-d $DOMAIN \--agree-tos --email $EMAIL@@ -107,7 +108,7 @@ if [ -f /etc/nginx/sites-enabled/$DOMAIN.conf ] ; thenelif [ -f /etc/apache2/sites-enabled/$DOMAIN.conf ] ; then- /usr/bin/certbot certonly --noninteractive \+ $CERTBOT certonly --noninteractive \--webroot --webroot-path /usr/share/jitsi-meet \-d $DOMAIN \--agree-tos --email $EMAIL