Update 00-php_pfm.sh

This commit is contained in:
Alexandre
2025-04-06 09:32:14 +02:00
committed by GitHub
parent 3d40cb6260
commit 2c084d333f

View File

@@ -4,12 +4,12 @@
# Correct /config permissions after startup
chown pi:pi /config
TZ_VALUE="$(timedatectl show -p Timezone --value)"
export TZ="$TZ_VALUE"
# Waiting for dbus
until [[ -e /var/run/dbus/system_bus_socket ]]; do
sleep 1s
done
TZ_VALUE="$(timedatectl show -p Timezone --value)"
export TZ="$TZ_VALUE"
echo "Starting service: php pfm"
exec /usr/sbin/php-fpm* -F