Skip to content

Commit

Permalink
Update docker-cmd.sh
Browse files Browse the repository at this point in the history
docker-cmd.sh tries to chown /var/lib/munin/cgi-tmp before it exists (on new installs).

make the directory first to fix this issue
  • Loading branch information
jakkuh authored Oct 11, 2024
1 parent b9d3793 commit 746cc3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ 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

# Fix ownership
chown munin:munin \
/var/log/munin /run/munin /var/lib/munin /var/lib/munin/cgi-tmp \
Expand Down

0 comments on commit 746cc3a

Please sign in to comment.