infrastructure/app/jitsi/build/jitsi-conference-focus/jicofo

19 lines
501 B
Text
Raw Normal View History

2020-03-22 18:01:54 +01:00
#!/bin/bash
2020-03-22 18:14:16 +01:00
update-ca-certificates -f
2021-02-01 07:48:50 +01: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 15:44:42 +01:00
exec java \
2021-02-01 07:48:50 +01:00
-Xmx${JICOFO_MEMORY} \
2021-01-20 15:44:42 +01: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 15:44:42 +01:00
-cp "/usr/share/jicofo/*:/usr/share/jicofo/lib/*" \
2021-01-28 17:52:41 +01:00
org.jitsi.jicofo.Main