From 7679670a610c54540b3e48807ef4e42d456e819b Mon Sep 17 00:00:00 2001 From: gyurix Date: Sat, 10 Sep 2022 15:40:41 +0000 Subject: [PATCH] Added MOVED_TO event to inotify watch line --- scripts/scheduler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/scheduler.sh b/scripts/scheduler.sh index b3d2b49..8386942 100755 --- a/scripts/scheduler.sh +++ b/scripts/scheduler.sh @@ -33,7 +33,7 @@ do /scripts/check_proxy_state.sh $DOMAIN; fi - elif [[ "${parent}" == "${DOMAIN_DIR}" && "${op}" == "CLOSE_WRITE,CLOSE" ]]; then + elif [[ "${parent}" == "${DOMAIN_DIR}" && "${op}" == "CLOSE_WRITE,CLOSE,MOVED_TO" ]]; then DOMAIN=$(echo $file);