jvb: fix version for autoscaler config

* jvb: fix version for autoscaler config
pull/1674/head
Aaron van Meerten 11 months ago committed by GitHub
parent 4531615974
commit 4c009ad8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      jvb/rootfs/etc/cont-init.d/10-config

@ -51,7 +51,7 @@ if [ -n "$AUTOSCALER_URL" ]; then
if [ -f "$AUTOSCALER_SIDECAR_KEY_FILE" ]; then
echo "AUTOSCALER_URL found, enabling autoscaler sidecar"
export JVB_VERSION="dpkg -s jitsi-videobridge2 | grep Version | awk '{print $2}' | sed 's/..$//'"
export JVB_VERSION="$(dpkg -s jitsi-videobridge2 | grep Version | awk '{print $2}' | sed 's/..$//')"
[ -z "$AUTOSCALER_SIDECAR_PORT" ] && export AUTOSCALER_SIDECAR_PORT="6000"
[ -z "$JIBRI_WEBHOOK_SUBSCRIBERS" ] && export JIBRI_WEBHOOK_SUBSCRIBERS="http://localhost:$AUTOSCALER_SIDECAR_PORT/hook"

Loading…
Cancel
Save