Remove echo to not break command.
This commit is contained in:
parent
197cd684c0
commit
b6bf6a660e
1 changed files with 0 additions and 1 deletions
|
@ -37,7 +37,6 @@ run_nginx() {
|
||||||
|
|
||||||
run_inotifywait() {
|
run_inotifywait() {
|
||||||
while find "$dstdir" -type f -exec \
|
while find "$dstdir" -type f -exec \
|
||||||
echo 'Monitoring the following files for changes:'
|
|
||||||
sed -En '/ssl_certificate/ s/^\s*ssl_certificate(_key)? (.*);.*$/\2/p' {} \; | sort | uniq | tee /dev/stderr \
|
sed -En '/ssl_certificate/ s/^\s*ssl_certificate(_key)? (.*);.*$/\2/p' {} \; | sort | uniq | tee /dev/stderr \
|
||||||
inotifywait --fromfile=- -e close_write -e modify; do
|
inotifywait --fromfile=- -e close_write -e modify; do
|
||||||
nginx -s reload
|
nginx -s reload
|
||||||
|
|
Loading…
Reference in a new issue