Added MOVED_TO event to inotify watch line

This commit is contained in:
2022-09-10 15:40:41 +00:00
parent 4922bebdc8
commit 7679670a61

View File

@@ -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);