aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/build/jitsi-xmpp/xmpp_prosody
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-01-28 18:55:56 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-01-28 18:55:56 +0100
commit4809e27220d4805bce8f14585f902097f53607ee (patch)
tree88f3089023ca73dff5a79c97c5a019a58b9f8e95 /app/jitsi/build/jitsi-xmpp/xmpp_prosody
parent7b57ff72a918ca295e2b00e76da33eec700c6a2a (diff)
downloadinfrastructure-4809e27220d4805bce8f14585f902097f53607ee.tar.gz
infrastructure-4809e27220d4805bce8f14585f902097f53607ee.zip
WIP integration jitsi
Diffstat (limited to 'app/jitsi/build/jitsi-xmpp/xmpp_prosody')
-rwxr-xr-xapp/jitsi/build/jitsi-xmpp/xmpp_prosody5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/jitsi/build/jitsi-xmpp/xmpp_prosody b/app/jitsi/build/jitsi-xmpp/xmpp_prosody
new file mode 100755
index 0000000..1101302
--- /dev/null
+++ b/app/jitsi/build/jitsi-xmpp/xmpp_prosody
@@ -0,0 +1,5 @@
+#!/bin/bash
+chown -R prosody:prosody /var/lib/prosody /etc/prosody /run/prosody
+
+cat /etc/prosody/accounts.txt | xargs -n3 prosodyctl register
+exec prosody