Find and use network name when restarting force the affected backend proxy

This commit is contained in:
2022-09-10 06:19:28 +00:00
parent c6343a976a
commit 4922bebdc8
2 changed files with 6 additions and 1 deletions

View File

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