From b5cf42fbead653cac2e718f012569c523594bbe4 Mon Sep 17 00:00:00 2001 From: Timmo Date: Sat, 6 Oct 2018 17:24:38 +0100 Subject: [PATCH] :hammer: reduce updates --- home-panel/rootfs/etc/services.d/config/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-panel/rootfs/etc/services.d/config/run b/home-panel/rootfs/etc/services.d/config/run index 7c93f9d..cba2107 100644 --- a/home-panel/rootfs/etc/services.d/config/run +++ b/home-panel/rootfs/etc/services.d/config/run @@ -10,7 +10,7 @@ config_file="/config/$(hass.config.get 'config_file')" # shellcheck disable=SC2162 # 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.." \ && cp "$config_file" /usr/src/api/files/config.json; \ done