aboutsummaryrefslogblamecommitdiff
path: root/app/jitsi/build/jitsi-conference-focus/jicofo
blob: 344b293063ddad2c2504513e0b6c6e8e94b9a2b7 (plain) (tree)
1
2
3
4
5
6
7
8
9

           

                         




                                                                               
           
                        


                                     

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