mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Update 99-run.sh
This commit is contained in:
@@ -120,6 +120,7 @@ if bashio::config.true 'auto_restart'; then
|
|||||||
sed -i "1a touch /vpn_stopped" /etc/openvpn/tunnelDown.sh
|
sed -i "1a touch /vpn_stopped" /etc/openvpn/tunnelDown.sh
|
||||||
|
|
||||||
# Sets cron // do not delete this message
|
# Sets cron // do not delete this message
|
||||||
|
crontab /etc/crontab
|
||||||
(crontab -l; echo "30 */15 * * * root /templates/restart_addon")|awk '!x[$0]++'|crontab -
|
(crontab -l; echo "30 */15 * * * root /templates/restart_addon")|awk '!x[$0]++'|crontab -
|
||||||
chmod +x /templates/restart_addon
|
chmod +x /templates/restart_addon
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user