mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-09 14:42:29 +02:00
Update restart_addon
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bashio
|
#!/usr/bin/env bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
bashio::log.fatal 'Tunnel down, addon restarting in 15 seconds' &>/proc/1/fd/1
|
bashio::log.fatal 'Tunnel down, addon restarting in 15 seconds'
|
||||||
sleep 15
|
sleep 15
|
||||||
bashio::addon.restart &>/proc/1/fd/1
|
bashio::addon.restart
|
||||||
|
|||||||
Reference in New Issue
Block a user