Ver código fonte

Adding Published File conf

Now published recordings are being stored in the space instead of the disk.
master
lmartin 4 anos atrás
pai
commit
fa7f83c5f4
1 arquivos alterados com 5 adições e 4 exclusões
  1. 5
    4
      scalelite-setup.sh

+ 5
- 4
scalelite-setup.sh Ver arquivo

@@ -6,9 +6,10 @@ STORAGE_NAME = "NAMEHERE"
6 6
 ########################### ADD STORAGE   ####################################
7 7
 apt-get install -y s3fs
8 8
 echo "$STORAGE_KEY:$STORAGE_SECRET" > /root/.passwd-s3fs
9
-chown 600 /root/.passwd-s3fs
9
+chmod 600 /root/.passwd-s3fs
10 10
 
11 11
 mkdir -p /mnt/storage01
12
+mkdir -p /mnt/storage01/published
12 13
 
13 14
 # Creating FSTAB backup
14 15
 cp /etc/fstab /etc/fstab.bak
@@ -21,7 +22,7 @@ mount -a
21 22
 ########################### SHARED VOLUME ####################################
22 23
 # Create the spool directory for recording transfer from BigBlueButton
23 24
 ln -s /mnt/storage01/spool /mnt/scalelite-recordings/var/bigbluebutton
24
-chown 1000:1000 /mnt/scalelite-recordings/var/bigbluebutton/spool
25
+chown -h 1000:1000 /mnt/scalelite-recordings/var/bigbluebutton/spool
25 26
 chmod 0775 /mnt/scalelite-recordings/var/bigbluebutton/spool
26 27
 
27 28
 # Create the temporary (working) directory for recording import
@@ -30,8 +31,8 @@ chown 1000:1000 /mnt/scalelite-recordings/var/bigbluebutton/recording/scalelite
30 31
 chmod 0775 /mnt/scalelite-recordings/var/bigbluebutton/recording/scalelite
31 32
 
32 33
 # Create the directory for published recordings
33
-mkdir -p /mnt/scalelite-recordings/var/bigbluebutton/published
34
-chown 1000:1000 /mnt/scalelite-recordings/var/bigbluebutton/published
34
+ln -s /mnt/storage01/published /mnt/scalelite-recordings/var/bigbluebutton/published
35
+chown -h 1000:1000 /mnt/scalelite-recordings/var/bigbluebutton/published
35 36
 chmod 0775 /mnt/scalelite-recordings/var/bigbluebutton/published
36 37
 
37 38
 # Create the directory for unpublished recordings

Carregando…
Cancelar
Salvar