diff options
-rwxr-xr-x | ejabberd/cron.hourly/local-ejabberd-muc-publish | 9 |
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" |