mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-26 18:43:39 +02:00
Update restart_addon
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
#!/usr/bin/env bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
bashio::log.fatal 'Tunnel down, addon restarting in 15 seconds'
|
bashio::log.fatal 'Tunnel down, addon restarting in 15 seconds'
|
||||||
|
|
||||||
sleep 15
|
sleep 15
|
||||||
|
|
||||||
# force container environment
|
# force container environment
|
||||||
for i in $(/usr/bin/env); do
|
#for i in $(/usr/bin/env); do
|
||||||
export "$i" 2>/dev/null || true
|
#export "$i" 2>/dev/null || true
|
||||||
done
|
#done
|
||||||
|
|
||||||
bashio::addon.restart
|
bashio::addon.restart
|
||||||
|
|||||||
Reference in New Issue
Block a user