fix permissions
This commit is contained in:
parent
1c0c84e071
commit
24d174e795
2 changed files with 3 additions and 2 deletions
|
@ -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
4
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 &
|
||||
|
|
Reference in a new issue