From 41e63c71b17c7ce072236a79b69a5c18809a2f08 Mon Sep 17 00:00:00 2001 From: Tiago Daniel Jacobs Date: Mon, 9 Dec 2019 01:50:43 -0300 Subject: [PATCH] Remount tmp before installing BBB (allow packages to run scripts in /tmp) --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index ff1c58e..ffd8325 100755 --- a/setup.sh +++ b/setup.sh @@ -28,6 +28,9 @@ echo "bbb ALL=(ALL:ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/bbb echo "bbb:bbb" | chpasswd +# Allow to have executable files in /tmp/ folder (tomcat JNA) +mount /tmp -o remount,exec + ./bbb-install.sh -d -s "`hostname -f`" -v xenial-220-dev22a -a sed -i 's/::/0.0.0.0/g' /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml @@ -35,9 +38,6 @@ sed -i 's/::/0.0.0.0/g' /opt/freeswitch/etc/freeswitch/autoload_configs/event_so cd /usr/local/bigbluebutton/bbb-webrtc-sfu/ npm install --unsafe-perm -# Allow to have executable files in /tmp/ folder (tomcat JNA) -mount /tmp -o remount,exec - # Restart bbb-conf --restart