Send text to log

This commit is contained in:
Alexandre
2022-11-03 13:34:36 +01:00
committed by GitHub
parent 7fa525b2fe
commit c2a9a2c4aa

View File

@@ -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