#!/bin/bash update-ca-certificates -f if [ -z "${JICOFO_MEMORY}" ]; then echo "You must set the env variable 'JICOFO_MEMORY'. eg. JICOFO_MEMORY=3072m" exit 1 fi exec java \ -Xmx${JICOFO_MEMORY} \ -XX:+HeapDumpOnOutOfMemoryError \ -XX:HeapDumpPath=/tmp \ -Djdk.tls.ephemeralDHKeySize=2048 \ -Djava.util.logging.config.file=/usr/share/jicofo/lib/logging.properties \ -Dconfig.file=/etc/jitsi/jicofo.conf \ -cp "/usr/share/jicofo/*:/usr/share/jicofo/lib/*" \ org.jitsi.jicofo.Main