Browse Source

systemd bug workaround

master
Anton Smirnov 5 years ago
parent
commit
491f97590f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/listener.rb

+ 1
- 0
app/listener.rb View File

@@ -8,6 +8,7 @@ module JournaldWatcher
def listen(&block)
@journal.filter @filter
@journal.seek :tail
@journal.move_previous_skip 1 # workaround due to systemd bug, see https://bugzilla.redhat.com/show_bug.cgi?id=979487
watch { |entry| block.call(entry) }
end



Loading…
Cancel
Save