Use /bin/journalctl (needed for debian based systems)
This commit is contained in:
parent
eb9de222ce
commit
2f988d0177
|
@ -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…
Reference in New Issue