Created
June 15, 2021 04:56
-
-
Save Satys/504d980b2db9f394c9c73bb8b5bdd8a8 to your computer and use it in GitHub Desktop.
Rsyslog live reload - 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inotifywait --quiet --monitor --event CLOSE_WRITE /etc/rsyslog.d/rsyslog.conf \ | |
| while read change; do | |
echo "[DEBUG] - `(date +%F\ %T)` - rsyslog daemon reload start" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment