Update 02-timezone.sh

This commit is contained in:
Alexandre
2026-03-11 14:34:22 +01:00
committed by GitHub
parent b740741dbf
commit 3ce74a2e0f

View File

@@ -17,6 +17,7 @@ fi
ln -sf "/usr/share/zoneinfo/${TZ_VALUE}" /etc/localtime
echo "${TZ_VALUE}" > /etc/timezone
export TZ="${TZ_VALUE}"
sed -i "1a TZ=\"${TZ_VALUE}\"" /etc/services.d/*
# Update s6 container environment so child processes inherit the timezone
if [ -d /var/run/s6/container_environment ]; then