Skip to content

Commit

Permalink
jvb: fix version for autoscaler config
Browse files Browse the repository at this point in the history
* jvb: fix version for autoscaler config
  • Loading branch information
aaronkvanmeerten authored Dec 15, 2023
1 parent 4531615 commit 4c009ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jvb/rootfs/etc/cont-init.d/10-config
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4c009ad

Please sign in to comment.