Skip to content

Commit

Permalink
Update docker-cmd.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored May 19, 2024
1 parent efd7c27 commit df7d4de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-cmd.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash
set -eu

echo "Munin for Docker v${VERSION}..."
echo "Munin for Docker v$(</run/version)..."

NODES="${NODES:-}"

# Set timezone
if ! [[ ! -z "$TZ" && -f "/usr/share/zoneinfo/$TZ" ]]; then
TZ=UTC
TZ="UTC"
fi

cp "/usr/share/zoneinfo/$TZ" /etc/localtime
echo "$TZ" > /etc/timezone
echo "$TZ" > /etc/timezone

# Fix ownership
chown munin:munin \
Expand Down

0 comments on commit df7d4de

Please sign in to comment.