Random Project

Useful!

Here is a one-liner to do it automatically (requires inotify-tools)

while inotifywait -q -r -e modify /etc/nagios/ ; do echo “filename is changed”; nagios-reload;sleep 1;done