Skip to content

Commit

Permalink
fix: Make directories before setting permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 16, 2024
1 parent 4298253 commit 1373280
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 1373280

Please sign in to comment.