Update restart_addon

This commit is contained in:
Alexandre
2022-11-04 21:51:35 +01:00
committed by GitHub
parent 88b462a362
commit a554e2f6b9

View File

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