mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-28 16:51:44 +00:00
Define timezone for php
https://github.com/alexbelgium/hassio-addons/issues/1664
This commit is contained in:
1 parent
4667791146
commit
3d40cb6260
1 file changed
+3
@@ -4,6 +4,9 @@
|
||||
# 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
|
||||
|
||||
Reference in new issue
Block a user