Files
hassio-addons/birdnet-pi/rootfs/custom-services.d/00-php_pfm.sh
2024-05-01 14:59:19 +00:00

13 lines
267 B
Bash
Executable File

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# Correct /config permissions after startup
chown pi:pi /config
# Waiting for dbus
until [[ -e /var/run/dbus/system_bus_socket ]]; do
sleep 1s
done
echo "Starting service: php pfm"
exec /usr/sbin/php-fpm* -F