mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 09:05:55 +02:00
Update restart_addon
This commit is contained in:
@@ -1,12 +1,11 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/env 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