[__jitsi_meet] Fix adjustment of jicofo's max memory

Leftover from last commit >,<

Sponsored by:   camilion.eu, eXO.cat
This commit is contained in:
evilham 2022-04-21 14:44:10 +02:00
parent 80bbbd3aa8
commit c5070a3a33
Signed by untrusted user: evilham
GPG key ID: AE3EE30D970886BF

View file

@ -24,7 +24,7 @@ if cut -f 2 "${__object}/explorer/configured-memory" | grep -qvE "^${MAX_MEMORY}
-e 's!^(#[[:space:]]*)?(VIDEOBRIDGE_MAX_MEMORY)=.*\$!\2=${MAX_MEMORY}!' \ -e 's!^(#[[:space:]]*)?(VIDEOBRIDGE_MAX_MEMORY)=.*\$!\2=${MAX_MEMORY}!' \
/usr/share/jitsi-videobridge/lib/videobridge.rc /usr/share/jitsi-videobridge/lib/videobridge.rc
sed -i.tmp -E \ sed -i.tmp -E \
-e 's!^(JICOFO_MAX_MEMORY)[^;]+;!\1=${MAX_MEMORY};!' \ -e 's!(JICOFO_MAX_MEMORY)[^;]+;!\1=${MAX_MEMORY};!' \
/usr/share/jicofo/jicofo.sh /usr/share/jicofo/jicofo.sh
EOF EOF
fi fi