mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Send text to log
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#!/usr/bin/env bashio
|
||||
# shellcheck shell=bash
|
||||
|
||||
(
|
||||
if [ -f /vpn_stopped ]; then
|
||||
bashio::log.fatal 'Tunnel down, addon restarting in 15 seconds'
|
||||
sleep 15
|
||||
bashio::addon.restart
|
||||
fi
|
||||
) &>/proc/1/fd/1
|
||||
|
||||
Reference in New Issue
Block a user