summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-12-01 13:35:50 +0100
committermh <mh@immerda.ch>2012-12-01 13:35:50 +0100
commit68a54389de6ca6af13ecde7f4988787a83132d01 (patch)
tree908ae12f88fa8b1060647405dfaa80fd7e0a8cbf
parente34218f03210c7cdb0a794f0aa4a1574e466545a (diff)
downloadpuppet-ejabberd-68a54389de6ca6af13ecde7f4988787a83132d01.tar.gz
puppet-ejabberd-68a54389de6ca6af13ecde7f4988787a83132d01.tar.bz2
should not be readable by everyone
-rw-r--r--files/munin/ejabberd_registrations.cron2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/munin/ejabberd_registrations.cron b/files/munin/ejabberd_registrations.cron
index 34caf22..fc9de3e 100644
--- a/files/munin/ejabberd_registrations.cron
+++ b/files/munin/ejabberd_registrations.cron
@@ -3,4 +3,6 @@
for host in `cat /etc/munin/plugin-conf.d/ejabberd_registrations.conf | grep env.vhosts | sed 's/env.vhosts //'`; do
stat_file="/var/lib/munin/plugin-state/ejabberd_registrations_${host}"
ejabberdctl registered-users $host > $stat_file
+ chgrp munin $stat_file
+ chmod o-rwx $stat_file
done