#!/bin/bash - #=============================================================================== # # FILE: update_jitsi.sh # # USAGE: ./update_jitsi.sh # # DESCRIPTION: # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: YOUR NAME (), # ORGANIZATION: # CREATED: 07/13/2021 16:50 # REVISION: --- #=============================================================================== set -o nounset # Treat unset variables as an error echo "Update System and Jitsi Meet" apt update -qq apt upgrade -qq -y echo "+ Copying background image" cp /home/rene/top-view-photo-of-people-near-wooden-table-3183150_small.jpg /usr/share/jitsi-meet/images/welcome-background-cust.png echo "+ Modify interface_config.js" sed -i -e "s/APP_NAME.*$/APP_NAME: 'Mewimeet',/" /usr/share/jitsi-meet/interface_config.js sed -i -e "s/jitsi.org/mewimeet.de/g" /usr/share/jitsi-meet/interface_config.js sed -i -e "s/_CONTENT: false/_CONTENT: true/g" /usr/share/jitsi-meet/interface_config.js echo "+ Modify welcomePageAdditionalContent.html" cat << EOF > /usr/share/jitsi-meet/static/welcomePageAdditionalContent.html Mewimeet | Anleitung | Browser Test | Datenschutz| Impressum Aktuelle Nutzung: X Konferenzen mit X Teilnehmer | X.X% CPU und X.X% RAM EOF echo "+ Modify plugin.head.html" cat </usr/share/jitsi-meet/plugin.head.html EOF echo "+ Restarting Services" for SERVICE in prosody jicofo jitsi-videobridge2 nginx; do systemctl restart "${SERVICE}" done
Aktuelle Nutzung: X Konferenzen mit X Teilnehmer | X.X% CPU und X.X% RAM