Update and rename transmission_openvpn/rootfs/templates/restart_addon to transmission_openvpn/rootfs/usr/bin/restart_addon

This commit is contained in:
Alexandre
2022-11-05 22:57:44 +01:00
committed by GitHub
parent 30db4ccd4b
commit 226fd89fb4

View File

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