From 8552b0f2646a9abe970f896b0ffd5aa1d79f34a4 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 10 Jul 2026 12:21:43 +0200 Subject: [PATCH] Use plain bash for BirdNET-Pi custom services --- birdnet-pi/rootfs/custom-services.d/00-php_pfm.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/birdnet-pi/rootfs/custom-services.d/00-php_pfm.sh b/birdnet-pi/rootfs/custom-services.d/00-php_pfm.sh index 3d36e0b8e1..0519e60bf6 100755 --- a/birdnet-pi/rootfs/custom-services.d/00-php_pfm.sh +++ b/birdnet-pi/rootfs/custom-services.d/00-php_pfm.sh @@ -4,13 +4,12 @@ # Correct /config permissions after startup chown pi:pi /config -# D-Bus is not guaranteed to be available in standalone Docker mode. Use the -# configured TZ directly and only query timedatectl when its bus is ready. +# Set timezone without requiring Home Assistant Supervisor or D-Bus. TZ_VALUE="${TZ:-}" if [[ -S /var/run/dbus/system_bus_socket ]] && command -v timedatectl > /dev/null 2>&1; then TZ_VALUE="$(timedatectl show -p Timezone --value 2> /dev/null || true)" fi export TZ="${TZ_VALUE:-Etc/UTC}" -echo "Starting service: php fpm" +echo "Starting service: php pfm" exec /usr/sbin/php-fpm* -F