aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ejabberd/ejabberd.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ejabberd/ejabberd.post-upgrade')
-rwxr-xr-xtesting/ejabberd/ejabberd.post-upgrade6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/ejabberd/ejabberd.post-upgrade b/testing/ejabberd/ejabberd.post-upgrade
new file mode 100755
index 0000000000..a9c1a406b0
--- /dev/null
+++ b/testing/ejabberd/ejabberd.post-upgrade
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+chown -R ejabberd.jabber /var/log/ejabberd
+chown -R ejabberd.jabber /var/spool/ejabberd
+chown -R ejabberd.jabber /var/lib/ejabberd
+chown root:ejabberd /etc/ejabberd/ejabberd.cfg /etc/ejabberd/ejabberdctl.cfg /etc/ejabberd