From a20eca048908ff96e73e376fe6279044cae02ca8 Mon Sep 17 00:00:00 2001 From: jfederico Date: Tue, 14 Sep 2021 15:09:33 -0400 Subject: updates to init-recordings-bigbluebutton --- init-recordings-bigbluebutton.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init-recordings-bigbluebutton.sh b/init-recordings-bigbluebutton.sh index 86bd3ab..df8ead0 100755 --- a/init-recordings-bigbluebutton.sh +++ b/init-recordings-bigbluebutton.sh @@ -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 -- cgit v1.2.3