Update https-nginx example README and inotifywait cmd

This commit is contained in:
ymqytw
2016-11-07 16:37:46 -08:00
parent 8b5264e095
commit 3bf4cdc710
2 changed files with 5 additions and 28 deletions

View File

@@ -17,7 +17,7 @@
nginx "$@"
oldcksum=`cksum /etc/nginx/conf.d/default.conf`
inotifywait -mr --timefmt '%d/%m/%y %H:%M' --format '%T' \
inotifywait -e modify,move,create,delete -mr --timefmt '%d/%m/%y %H:%M' --format '%T' \
/etc/nginx/conf.d/ | while read date time; do
newcksum=`cksum /etc/nginx/conf.d/default.conf`