#!/bin/sh

inotifywait -q -m -e close_write $1 | while read -r filename event; do curl -x POST $2 ; done



#!/bin/sh

inotifywait -q -m -e close_write "$1" | while read -r filename event; do echo "[$(date +%s)] Trigger refresh"; curl -sSL -X POST "$2" > /dev/null; done



Add some logging and some noise reduction to the container
Add some logging and some noise reduction to the container
