This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/app/jitsi/build/jitsi-conference-focus/jicofo

19 lines
501 B
Text
Raw Normal View History

2020-03-22 17:01:54 +00:00
#!/bin/bash
2020-03-22 17:14:16 +00:00
update-ca-certificates -f
2021-02-01 06:48:50 +00:00
if [ -z "${JICOFO_MEMORY}" ]; then
echo "You must set the env variable 'JICOFO_MEMORY'. eg. JICOFO_MEMORY=3072m"
exit 1
fi
2021-01-20 14:44:42 +00:00
exec java \
2021-02-01 06:48:50 +00:00
-Xmx${JICOFO_MEMORY} \
2021-01-20 14:44:42 +00:00
-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 \
2021-01-20 14:44:42 +00:00
-cp "/usr/share/jicofo/*:/usr/share/jicofo/lib/*" \
2021-01-28 16:52:41 +00:00
org.jitsi.jicofo.Main