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

           


                                                                                                                   

                                                                                                                                                                 
                    

   







                                                                      




                                             
#!/bin/bash

cp ${JITSI_CERTS_FOLDER}/auth.jitsi.deuxfleurs.fr.crt /usr/local/share/ca-certificates/auth.jitsi.deuxfleurs.fr.crt
update-ca-certificates -f

cat >> /etc/hosts <<EOF
${JITSI_PROSODY_HOST} jitsi.deuxfleurs.fr conference.jitsi.deuxfleurs.fr jitsi-videobridge.jitsi.deuxfleurs.fr focus.jitsi.deuxfleurs.fr auth.jitsi.deuxfleurs.fr
127.0.0.1 `hostname`
EOF

exec java \
  -Xmx400m \
  -XX:+HeapDumpOnOutOfMemoryError \
  -XX:HeapDumpPath=/tmp \
  -Djdk.tls.ephemeralDHKeySize=2048 \
  -Djava.util.logging.config.file=/srv/jicofo/lib/logging.properties \
  -cp "/usr/share/jicofo/*:/usr/share/jicofo/lib/*" \
  org.jitsi.jicofo.Main \
  --host=${JITSI_PROSODY_HOST} \
  --domain=jitsi.deuxfleurs.fr \
  --secret=${JITSI_SECRET_JICOFO_COMPONENT} \
  --user_domain=auth.jitsi.deuxfleurs.fr \
  --user_password=${JITSI_SECRET_JICOFO_USER}