diff options
Diffstat (limited to 'sshguard/sshguard-journalctl')
-rw-r--r-- | sshguard/sshguard-journalctl | 4 |
1 files changed, 4 insertions, 0 deletions
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 |