mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-05 03:11:24 +00:00
🔨 reduce updates
This commit is contained in:
parent
cf81fc06d9
commit
b5cf42fbea
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ config_file="/config/$(hass.config.get 'config_file')"
|
||||||
|
|
||||||
# shellcheck disable=SC2162
|
# shellcheck disable=SC2162
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
inotifywait -m "$config_file" | while read file; do \
|
inotifywait -e modify -m "$config_file" | while read file; do \
|
||||||
hass.log.debug "Update Config.." \
|
hass.log.debug "Update Config.." \
|
||||||
&& cp "$config_file" /usr/src/api/files/config.json; \
|
&& cp "$config_file" /usr/src/api/files/config.json; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue