Correcting inotify watched directories path

This commit is contained in:
2022-03-28 09:11:24 +00:00
parent ef6b1d7495
commit f21a253ad0
3 changed files with 4 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ PROXY_CONFIG_DIR=$PROXY_CONFIG_DIR
unset IFS
inotifywait --exclude .sw -m -e CREATE,CLOSE_WRITE,DELETE -r $DOMAIN_DIR $CERT_DIR | \
inotifywait --exclude .sw -m -e CREATE,CLOSE_WRITE,DELETE -r $DOMAIN_DIR $CERT_DIR $PROXY_CONFIG_DIR | \
while read dir op file
do