Added exact pattern for excluding changes

This commit is contained in:
2023-08-17 11:48:41 +00:00
parent 30d094b442
commit 783fb41830

View File

@@ -17,7 +17,7 @@ mkdir -p $CERT_DIR
unset IFS
inotifywait --exclude \.(swp|tmp) -m -e CREATE,CLOSE_WRITE,DELETE,MOVED_TO -r $DOMAIN_DIR $CERT_DIR $PROXY_CONFIG_DIR | \
inotifywait --exclude "\.(swp|tmp)" -m -e CREATE,CLOSE_WRITE,DELETE,MOVED_TO -r $DOMAIN_DIR $CERT_DIR $PROXY_CONFIG_DIR | \
while read dir op file
do