diff options
author | jfederico <jesus@123it.ca> | 2021-09-14 15:09:33 -0400 |
---|---|---|
committer | jfederico <jesus@123it.ca> | 2021-09-14 15:09:33 -0400 |
commit | a20eca048908ff96e73e376fe6279044cae02ca8 (patch) | |
tree | 70cc0a095c2e364cdec5dc6b1e9a1ae80e059751 /init-recordings-bigbluebutton.sh | |
parent | bc94d63d71627bfc6a9ce27871200ad932174682 (diff) | |
download | scalelite-run-itzks-a20eca048908ff96e73e376fe6279044cae02ca8.tar.gz scalelite-run-itzks-a20eca048908ff96e73e376fe6279044cae02ca8.tar.bz2 scalelite-run-itzks-a20eca048908ff96e73e376fe6279044cae02ca8.zip |
updates to init-recordings-bigbluebutton
Diffstat (limited to 'init-recordings-bigbluebutton.sh')
-rwxr-xr-x | init-recordings-bigbluebutton.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |