Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Rsyslog live reload - 1
inotifywait --quiet --monitor --event CLOSE_WRITE /etc/rsyslog.d/rsyslog.conf \
| while read change; do
echo "[DEBUG] - `(date +%F\ %T)` - rsyslog daemon reload start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment