diff --git a/birdnet-pi/rootfs/custom-services.d/02-nginx.sh b/birdnet-pi/rootfs/custom-services.d/02-nginx.sh index 08b3e2bd2..76f1773f8 100755 --- a/birdnet-pi/rootfs/custom-services.d/02-nginx.sh +++ b/birdnet-pi/rootfs/custom-services.d/02-nginx.sh @@ -2,5 +2,9 @@ # shellcheck shell=bash set -e +# Set timezone +TZ_VALUE="$(timedatectl show -p Timezone --value)" +export TZ="$TZ_VALUE" + echo "Starting service: nginx" nginx