#!/bin/sh -eu JICOFO="/usr/share/jicofo/jicofo.sh" VIDEOBRIDGE="/usr/share/jitsi-videobridge/lib/videobridge.rc" if [ -f "${JICOFO:?}" ]; then jicofo_memory="$(grep JICOFO_MAX_MEMORY= "${JICOFO:?}" | cut -d= -f 2 | cut -d ";" -f 1)" fi if [ -f "${VIDEOBRIDGE:?}" ]; then vb_memory="$(grep VIDEOBRIDGE_MAX_MEMORY= "${VIDEOBRIDGE:?}" | cut -d= -f 2)" fi cat <