aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/build/jitsi-xmpp/xmpp_root
diff options
context:
space:
mode:
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