From 68a54389de6ca6af13ecde7f4988787a83132d01 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 1 Dec 2012 13:35:50 +0100 Subject: should not be readable by everyone --- files/munin/ejabberd_registrations.cron | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3