mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 21:24:20 +01:00
Migrate ssh/git_pull to new hassio_api feature of 0.51 (#167)
* Update config.json * Use new API link * Update config.json * Update run.sh * Update config.json
This commit is contained in:
@@ -31,7 +31,7 @@ while true; do
|
||||
|
||||
if [ ! -z "$changed_files" ]; then
|
||||
echo "[Info] files changed, restart Home-Assistant"
|
||||
curl -s http://172.17.0.2/homeassistant/restart 2&> /dev/null || true
|
||||
curl -s http://hassio/homeassistant/restart 2&> /dev/null || true
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user