fix permissions
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Michael Grote 2024-07-26 13:40:37 +02:00
parent 1c0c84e071
commit 24d174e795
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,6 @@
FROM ubuntu:24.04
# install and configure munin
# hadolint ignore=DL3008
# hadolint ignore=DL3008
RUN apt-get update && \

4
run.sh
View file

@ -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 &