From 569e598d38adb1918d127ee31af1cd332b072dcf Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 23:29:24 +0200 Subject: Initial commit. --- sshguard/sshguard-journalctl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sshguard/sshguard-journalctl (limited to 'sshguard/sshguard-journalctl') diff --git a/sshguard/sshguard-journalctl b/sshguard/sshguard-journalctl new file mode 100644 index 0000000..8a800ff --- /dev/null +++ b/sshguard/sshguard-journalctl @@ -0,0 +1,4 @@ +#!/bin/sh +SSHGUARD_OPTS=$1 +shift +LANG=C /usr/bin/journalctl -afb -p info -n1 -o cat "$@" | /usr/bin/sshguard -l- $SSHGUARD_OPTS -- cgit v1.2.3-70-g09d2