Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

debian: Skips deploy-hook when there is no hook available.

damenchobe565212677e
diff --git a/resources/install-letsencrypt-cert.sh b/resources/install-letsencrypt-cert.sh
index 51f1f688a8..f957b6af60 100755
--- a/resources/install-letsencrypt-cert.sh
+++ b/resources/install-letsencrypt-cert.sh
@@ -50,13 +50,18 @@ if [ -f /etc/nginx/sites-enabled/$DOMAIN.conf ] ; then
cp /usr/share/jitsi-meet-turnserver/coturn-certbot-deploy.sh $TURN_HOOK
chmod u+x $TURN_HOOK
sed -i "s/jitsi-meet.example.com/$DOMAIN/g" $TURN_HOOK
- fi
- ./certbot-auto certonly --noninteractive \
- --webroot --webroot-path /usr/share/jitsi-meet \
- -d $DOMAIN \
- --agree-tos --email $EMAIL \
- --deploy-hook $TURN_HOOK
+ ./certbot-auto certonly --noninteractive \
+ --webroot --webroot-path /usr/share/jitsi-meet \
+ -d $DOMAIN \
+ --agree-tos --email $EMAIL \
+ --deploy-hook $TURN_HOOK
+ else
+ ./certbot-auto certonly --noninteractive \
+ --webroot --webroot-path /usr/share/jitsi-meet \
+ -d $DOMAIN \
+ --agree-tos --email $EMAIL
+ fi
echo "Configuring nginx"