mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2025-12-16 22:32:10 +01:00
updates to init-recordings-bigbluebutton
This commit is contained in:
@@ -108,7 +108,9 @@ fi
|
||||
echo "Host scalelite-spool" | sudo tee -a /home/bigbluebutton/.ssh/config
|
||||
echo " HostName $HOST" | sudo tee -a /home/bigbluebutton/.ssh/config
|
||||
echo " User bigbluebutton" | sudo tee -a /home/bigbluebutton/.ssh/config
|
||||
echo " Port 22" | sudo tee -a /home/bigbluebutton/.ssh/config
|
||||
echo " IdentityFile /home/bigbluebutton/.ssh/id_rsa" | sudo tee -a /home/bigbluebutton/.ssh/config
|
||||
chown bigbluebutton.bigbluebutton /home/bigbluebutton/.ssh/config
|
||||
|
||||
echo 'Add recording transfer scripts...'
|
||||
POST_PUBLISH_DIR=/usr/local/bigbluebutton/core/scripts/post_publish
|
||||
@@ -126,7 +128,9 @@ if [ -f "$CORE_SCRIPTS_DIR/scalelite.yml" ]; then
|
||||
fi
|
||||
wget https://raw.githubusercontent.com/blindsidenetworks/scalelite/master/bigbluebutton/scalelite.yml -P $CORE_SCRIPTS_DIR
|
||||
sed -e '/spool_dir/ s/^#*/#/' -i $CORE_SCRIPTS_DIR/scalelite.yml
|
||||
echo "spool_dir: bigbluebutton@scalelite-spool:/var/bigbluebutton/spool" | tee -a $CORE_SCRIPTS_DIR/scalelite.yml
|
||||
sed -e '/extra_rsync_opts/ s/^#*/#/' -i $CORE_SCRIPTS_DIR/scalelite.yml
|
||||
echo 'spool_dir: bigbluebutton@scalelite-spool:/var/bigbluebutton/spool' | tee -a $CORE_SCRIPTS_DIR/scalelite.yml
|
||||
echo 'extra_rsync_opts: ["-av", "--no-owner", "--chmod=F664"]' | tee -a $CORE_SCRIPTS_DIR/scalelite.yml
|
||||
|
||||
public_key=$(cat /home/bigbluebutton/.ssh/id_rsa.pub)
|
||||
set +x
|
||||
|
||||
Reference in New Issue
Block a user