mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 00_php_pfm
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
# Correct /config permissions after startup
|
||||||
|
chown pi:pi /config
|
||||||
|
|
||||||
# Waiting for dbus
|
# Waiting for dbus
|
||||||
until [[ -e /var/run/dbus/system_bus_socket ]]; do
|
until [[ -e /var/run/dbus/system_bus_socket ]]; do
|
||||||
sleep 1s
|
sleep 1s
|
||||||
done
|
done
|
||||||
echo "Starting service: php pfm"
|
echo "Starting service: php pfm"
|
||||||
exec /usr/sbin/php-fpm* -F
|
exec /usr/sbin/php-fpm* -F
|
||||||
|
|||||||
Reference in New Issue
Block a user