#!/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
