Update restart_addon

This commit is contained in:
Alexandre
2022-11-04 21:56:23 +01:00
committed by GitHub
parent 08c3a076cc
commit 5bed27a4ff

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
/etc/bashioenv > /etc/environment
cat /etc/bashioenv > /etc/environment
if [ -f /vpn_stopped ]; then
bashio::log.fatal 'Tunnel down, addon restarting in 15 seconds' &>/proc/1/fd/1