jitsi: Clean up
There's no need to extract the entire Jitsi tarball into /federated/apps/jitsi - we only need gen-passwords.sh Also document what the tarball in lib/files/jitsi is and where it comes from.
This commit is contained in:
parent
4ba278e6aa
commit
66824e58e4
6
lib/files/jitsi/README.md
Normal file
6
lib/files/jitsi/README.md
Normal file
@ -0,0 +1,6 @@
|
||||
The files here are unmodified copies of the tarballs at
|
||||
https://github.com/jitsi/docker-jitsi-meet/tags
|
||||
|
||||
The only purpose is extracting `gen-passwords.sh`, so
|
||||
it is ok for the file to be out of sync with the
|
||||
container being used as long as that file remains unchanged.
|
@ -17,8 +17,8 @@ config_jitsi() {
|
||||
# chmod 644 /federated/apps/jitsi/data/config/keys/*.pem
|
||||
fi
|
||||
|
||||
# Extract Jitsi into /federated/apps/jitsi
|
||||
tar zxvf /federated/lib/files/jitsi/stable-* --strip-components 1 -C /federated/apps/jitsi &> /dev/null
|
||||
# Extract Jitsi's gen-password.sh into /federated/apps/jitsi
|
||||
tar zxvf /federated/lib/files/jitsi/stable-* --strip-components 1 --wildcards -C /federated/apps/jitsi '*/gen-passwords.sh' &> /dev/null
|
||||
[ $? -ne 0 ] && fail "Couldn't extract files/jitsi/stable* into /federated/apps/jitsi"
|
||||
|
||||
# Create docker compose file
|
||||
|
Loading…
x
Reference in New Issue
Block a user