From 137328066783f24d194a16e4226ffd36fa35d56a Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 16 Oct 2024 08:49:46 +0200 Subject: [PATCH] fix: Make directories before setting permissions --- docker-cmd.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-cmd.sh b/docker-cmd.sh index da5ae57..3943628 100755 --- a/docker-cmd.sh +++ b/docker-cmd.sh @@ -13,8 +13,10 @@ fi cp "/usr/share/zoneinfo/$TZ" /etc/localtime echo "$TZ" > /etc/timezone -#Make cgi-tmp directory before setting permissions -mkdir /var/lib/munin/cgi-tmp +# Make directories before setting permissions +mkdir -p /run/munin +mkdir -p /var/log/munin +mkdir -p /var/lib/munin/cgi-tmp # Fix ownership chown munin:munin \