Use /bin/journalctl (needed for debian based systems)

master
Daniel Berteaud 6 years ago
parent eb9de222ce
commit 2f988d0177
  1. 2
      systemd-journal-gelf

@ -139,7 +139,7 @@ if ( -e $conf->{state} ){
}
}
open JOURNAL, "/usr/bin/journalctl -f -o json$cursor_arg |";
open JOURNAL, "/bin/journalctl -f -o json$cursor_arg |";
while ( my $entry = <JOURNAL> ){
my $msg = from_json( $entry );

Loading…
Cancel
Save