diff --git a/scripts/scheduler.sh b/scripts/scheduler.sh index 8386942..3d54e05 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,MOVED_TO" ]]; then + elif [[ "${parent}" == "${DOMAIN_DIR}" && "${op}" == "CLOSE_WRITE,CLOSE" || "${op}" == "MOVED_TO" ]]; then DOMAIN=$(echo $file);