mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-13 00:20:36 +01:00
Update restart_addon
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user