mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 00-php_pfm.sh
This commit is contained in:
@@ -4,12 +4,12 @@
|
|||||||
# Correct /config permissions after startup
|
# Correct /config permissions after startup
|
||||||
chown pi:pi /config
|
chown pi:pi /config
|
||||||
|
|
||||||
TZ_VALUE="$(timedatectl show -p Timezone --value)"
|
|
||||||
export TZ="$TZ_VALUE"
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
TZ_VALUE="$(timedatectl show -p Timezone --value)"
|
||||||
|
export TZ="$TZ_VALUE"
|
||||||
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