Added MOVED_TO event to inotify watch line
This commit is contained in:
@@ -33,7 +33,7 @@ do
|
|||||||
/scripts/check_proxy_state.sh $DOMAIN;
|
/scripts/check_proxy_state.sh $DOMAIN;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
elif [[ "${parent}" == "${DOMAIN_DIR}" && "${op}" == "CLOSE_WRITE,CLOSE" ]]; then
|
elif [[ "${parent}" == "${DOMAIN_DIR}" && "${op}" == "CLOSE_WRITE,CLOSE,MOVED_TO" ]]; then
|
||||||
|
|
||||||
DOMAIN=$(echo $file);
|
DOMAIN=$(echo $file);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user