aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/build/jitsi-xmpp/xmpp_root
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_root
parent7b57ff72a918ca295e2b00e76da33eec700c6a2a (diff)
downloadinfrastructure-4809e27220d4805bce8f14585f902097f53607ee.tar.gz
infrastructure-4809e27220d4805bce8f14585f902097f53607ee.zip
WIP integration jitsi
Diffstat (limited to 'app/jitsi/build/jitsi-xmpp/xmpp_root')
-rwxr-xr-xapp/jitsi/build/jitsi-xmpp/xmpp_root4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/jitsi/build/jitsi-xmpp/xmpp_root b/app/jitsi/build/jitsi-xmpp/xmpp_root
new file mode 100755
index 0000000..293915f
--- /dev/null
+++ b/app/jitsi/build/jitsi-xmpp/xmpp_root
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+chown -R prosody:prosody /var/lib/prosody /etc/prosody /run/prosody
+exec su -s /bin/bash -c /usr/local/bin/xmpp_prosody - prosody