mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-01 10:50:32 +02:00
Create restart.sh
This commit is contained in:
5
transmission_openvpn/rootfs/etc/transmission/restart.sh
Normal file
5
transmission_openvpn/rootfs/etc/transmission/restart.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bashio
|
||||||
|
|
||||||
|
bashio::log.fatal 'Tunnel down, addon restarting in 15 seconds'
|
||||||
|
sleep 15
|
||||||
|
bashio::addon.restart
|
||||||
Reference in New Issue
Block a user