nixcfg/cluster/prod/app/jitsi/build/jitsi-xmpp/xmpp_prosody

10 lines
338 B
Text
Raw Normal View History

2022-08-23 16:00:07 +00:00
#!/bin/bash
prosodyctl register focus auth.jitsi ${JICOFO_AUTH_PASSWORD}
prosodyctl register jvb auth.jitsi ${JVB_AUTH_PASSWORD}
# copied from jitsi-meet.postinst
# Make sure the focus@auth user's roster includes the proxy component (this is idempotent)
prosodyctl mod_roster_command subscribe focus.jitsi focus@auth.jitsi
exec prosody