From 2f988d0177ee535c5c9967911afccf4ff3888865 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 26 Mar 2019 23:10:00 +0100 Subject: [PATCH] Use /bin/journalctl (needed for debian based systems) --- systemd-journal-gelf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd-journal-gelf b/systemd-journal-gelf index 5b2fef1..1238dea 100644 --- a/systemd-journal-gelf +++ b/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 = ){ my $msg = from_json( $entry );