Send text to log

This commit is contained in:
Alexandre authored and GitHub committed 2022-11-03 13:34:36 +01:00
1 parent 7fa525b2fe
commit c2a9a2c4aa
1 file changed
+2
@@ -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