infrastructure/app/jitsi/build/jitsi-conference-focus/jicofo
2021-02-01 07:48:50 +01:00

19 lines
501 B
Bash
Executable file

#!/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