diff --git a/debian/postinst b/debian/postinst index 978118b9a..b391e20d1 100644 --- a/debian/postinst +++ b/debian/postinst @@ -40,11 +40,11 @@ case "$1" in fi # jitsi meet - chown -R www-data:www-data /srv/web/jitsi-meet/ - sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /srv/web/jitsi-meet/config.js + chown -R www-data:www-data /usr/share/jitsi-meet/ + sed -i "s/jitsi-meet.example.com/$JVB_HOSTNAME/g" /usr/share/jitsi-meet/config.js # enable turn - if grep "// useStunTurn: true," /srv/web/jitsi-meet/config.js > /dev/null; then - sed -i "s/\/\/\ \ useStunTurn:\ true,/\ \ \ \ useStunTurn:\ true,/" /srv/web/jitsi-meet/config.js + if grep "// useStunTurn: true," /usr/share/jitsi-meet/config.js > /dev/null; then + sed -i "s/\/\/\ \ useStunTurn:\ true,/\ \ \ \ useStunTurn:\ true,/" /usr/share/jitsi-meet/config.js fi invoke-rc.d nginx restart diff --git a/debian/usr/share/doc/jitsi-meet/jitsi-meet.example b/debian/usr/share/doc/jitsi-meet/jitsi-meet.example index b2773ad8a..dbba423aa 100644 --- a/debian/usr/share/doc/jitsi-meet/jitsi-meet.example +++ b/debian/usr/share/doc/jitsi-meet/jitsi-meet.example @@ -10,7 +10,7 @@ server { ssl_certificate /var/lib/prosody/jitsi-meet.example.com.crt; ssl_certificate_key /var/lib/prosody/jitsi-meet.example.com.key; - root /srv/web/jitsi-meet; + root /usr/share/jitsi-meet; index index.html index.htm; location ~ ^/([a-zA-Z0-9]+)$ {