summaryrefslogtreecommitdiff
path: root/ejabberd
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2011-01-14 01:17:26 +0100
committerJonas <dr@jones.dk>2011-01-14 01:17:26 +0100
commitc2ecd2e1ab88ed8d441d01b98db1c1a54ac17618 (patch)
tree4220f94fa33eff6cf0406818128f2171f4f8d46b /ejabberd
parent425be1afea28fec7f90324f6c3ed92ecd1001d39 (diff)
Add ejabberd muc log cron job.
Diffstat (limited to 'ejabberd')
-rwxr-xr-xejabberd/cron.hourly/local-ejabberd-muc-publish9
1 files changed, 9 insertions, 0 deletions
diff --git a/ejabberd/cron.hourly/local-ejabberd-muc-publish b/ejabberd/cron.hourly/local-ejabberd-muc-publish
new file mode 100755
index 0000000..de0f152
--- /dev/null
+++ b/ejabberd/cron.hourly/local-ejabberd-muc-publish
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# Ejabberd mod_muc_log use umask 027 unusable served by apache2
+
+set -e
+
+muc_dir=/var/www/vhosts/www-ejabberd/conference/
+
+[ ! -d "$muc_dir" ] || chmod -R +rX "$muc_dir"