diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-10-08 18:27:12 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-10-08 18:27:12 +0200 |
commit | 75ae9d501bfdd4b264cfb0a8f1e04ae3c6a86cf7 (patch) | |
tree | 97bff45dafbc77ad45f5e17529b3c7c3b14427ec /scripts/vyatta-monitor | |
parent | b6bd78467c5b729a4e073432e5776917abb57a5f (diff) | |
download | vyatta-op-75ae9d501bfdd4b264cfb0a8f1e04ae3c6a86cf7.tar.gz vyatta-op-75ae9d501bfdd4b264cfb0a8f1e04ae3c6a86cf7.zip |
Add an option to disable inotify to fail -f commands.
OverlayFS doesn't work well with inotify.
Diffstat (limited to 'scripts/vyatta-monitor')
-rwxr-xr-x | scripts/vyatta-monitor | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-monitor b/scripts/vyatta-monitor index 22867e8..9c846b0 100755 --- a/scripts/vyatta-monitor +++ b/scripts/vyatta-monitor @@ -3,5 +3,5 @@ declare awkmatch="$2" for i in "${@:3}"; do awkmatch+="|$i" done -tail -f /var/log/messages \ +tail ---disable-inotify -f /var/log/messages \ | awk "/$awkmatch/{ \$5=\" $1:\"; for (f=5; f<=NF; ++f) {printf(\"%s \", \$f);}; printf(\"\n\") }" |