diff --git a/Dockerfile b/Dockerfile index 70e24fc..283fded 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM ubuntu:24.04 # install and configure munin -# hadolint ignore=DL3008 # hadolint ignore=DL3008 RUN apt-get update && \ diff --git a/run.sh b/run.sh index 1991426..e110745 100644 --- a/run.sh +++ b/run.sh @@ -80,10 +80,12 @@ EOF fi # ensure munin folder exist and have right permission - mkdir -p /var/lib/munin/cgi-tmp /var/cache/munin/www chown -R munin:munin /var/lib/munin /var/cache/munin chmod -R ugo+rw /var/lib/munin/cgi-tmp +chown munin:munin /var/log/munin/munin-graph.log +chown munin:munin /var/log/munin/munin-limits.log +chown munin:munin /var/log/munin/munin-html.log # start cron /usr/sbin/cron &