Added exact pattern for excluding changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
FROM proxy-scheduler:latest
|
||||
COPY scripts /scripts
|
||||
COPY firewall-letsencrypt.json /firewall-files
|
||||
COPY firewall-letsencrypt.json /firewall-files/
|
||||
|
||||
ENTRYPOINT ["/scripts/scheduler.sh"]
|
||||
|
@@ -17,7 +17,7 @@ mkdir -p $CERT_DIR
|
||||
|
||||
unset IFS
|
||||
|
||||
inotifywait --exclude .sw -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
|
||||
|
Reference in New Issue
Block a user