diff options
Diffstat (limited to 'start-munin.sh')
-rw-r--r-- | start-munin.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/start-munin.sh b/start-munin.sh index 8a050de..6df87cc 100644 --- a/start-munin.sh +++ b/start-munin.sh @@ -11,6 +11,12 @@ SMTP_MESSAGE="${SMTP_MESSAGE:-$SMTP_MESSAGE_DEFAULT}" truncate -s 0 "${MAIL_CONF_PATH}" +# set volume ownerships +chown -R munin:munin /var/log/munin +chown -R munin:munin /var/lib/munin +chown -R munin:munin /var/run/munin +chown -R munin:munin /var/cache/munin + if [ "${SMTP_USE_TLS}" = true ] ; then cat >> "${MAIL_CONF_PATH}" <<EOF set smtp-use-starttls |