diff options
Diffstat (limited to 'docker/jitsi/jitsi-xmpp/entrypoint.sh')
-rwxr-xr-x | docker/jitsi/jitsi-xmpp/entrypoint.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docker/jitsi/jitsi-xmpp/entrypoint.sh b/docker/jitsi/jitsi-xmpp/entrypoint.sh index 017a756..e6ab4e5 100755 --- a/docker/jitsi/jitsi-xmpp/entrypoint.sh +++ b/docker/jitsi/jitsi-xmpp/entrypoint.sh @@ -37,10 +37,16 @@ ln -sf \ prosodyctl cert generate jitsi.deuxfleurs.fr prosodyctl cert generate auth.jitsi.deuxfleurs.fr +mkdir -p /usr/local/share/ca-certificates/ ln -sf \ - /var/lib/prosody/auth.jitsi.deuxfleurs.fr.crt + /var/lib/prosody/auth.jitsi.deuxfleurs.fr.crt \ /usr/local/share/ca-certificates/auth.jitsi.deuxfleurs.fr.crt prosodyctl register focus auth.jitsi.deuxfleurs.fr ${JITSI_SECRET_JICOFO_USER} -exec "$@" +mkdir /run/prosody +touch /run/prosody/prosody.pid +chown -R prosody:prosody /run/prosody + +cd /var/lib/prosody +su - prosody -s /bin/bash -c "$@" |