Added 'Full standalone' to 'Standalone' converter
This commit is contained in:
31
JMS-FSA>SA.sh
Normal file
31
JMS-FSA>SA.sh
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
################################
|
||||||
|
# JitsiMeet - JMS_FSA > SA #
|
||||||
|
################################
|
||||||
|
#Vars
|
||||||
|
repo=https://git.ictmaatwerk.com/VPS-scripts/MeetServer
|
||||||
|
branch=main/JMS
|
||||||
|
branchtype=branch
|
||||||
|
source /etc/ICTM/JitsiMeet.var
|
||||||
|
|
||||||
|
#Menu
|
||||||
|
ip -4 addr list
|
||||||
|
read -p 'Enter full name of internal network interface: ' innetworkif
|
||||||
|
intip=$(ip -o -4 addr list "$innetworkif" | awk '{print $4}' | cut -d/ -f1)
|
||||||
|
declare -p intip | cut -d ' ' -f 3- >> /etc/ICTM/JitsiMeet.var
|
||||||
|
|
||||||
|
#Firewall
|
||||||
|
apt install -y --no-install-recommends dnsmasq
|
||||||
|
ufw allow in on "$innetworkif" to any port 53
|
||||||
|
ufw allow in on "$innetworkif" to any port 5222
|
||||||
|
ufw reload
|
||||||
|
|
||||||
|
#InternalDNS
|
||||||
|
systemctl stop dnsmasq
|
||||||
|
curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/conf/dnsmasq.conf -o /etc/dnsmasq.d/main.conf
|
||||||
|
sed -i -e 's/DOMAINname/'$domain'/g' -e 's/HOSTname/'${domain%%.*}'/g' -e 's/INTif/'$innetworkif'/g' -e 's/INTip/'$intip'/g' /etc/dnsmasq.d/main.conf
|
||||||
|
systemctl enable dnsmasq
|
||||||
|
systemctl start dnsmasq
|
||||||
|
|
||||||
|
#UI Record Toggles
|
||||||
|
echo "sed -i -e '/fileRecordingsEnabled/c\fileRecordingsEnabled: true,' /etc/jitsi/meet/"$domain"-config.js" > /opt/EnableJitsiRecordButton.sh
|
||||||
|
echo "sed -i -e '/fileRecordingsEnabled/c\fileRecordingsEnabled: false,' /etc/jitsi/meet/"$domain"-config.js" > /opt/DisableJitsiRecordButton.sh
|
||||||
@@ -55,7 +55,7 @@ JMS can be ran in difrent modes
|
|||||||
* Disable support external JVB/JIB hosts
|
* Disable support external JVB/JIB hosts
|
||||||
* Does not requires a internal network
|
* Does not requires a internal network
|
||||||
* Running a JIB (even locally) requires config changes
|
* Running a JIB (even locally) requires config changes
|
||||||
|
* Can later be converted to Stand alone mode by using `JMS-FSA>SA.sh`
|
||||||
|
|
||||||
## JVB
|
## JVB
|
||||||
* A meeting is server bound
|
* A meeting is server bound
|
||||||
|
|||||||
Reference in New Issue
Block a user