summaryrefslogtreecommitdiff
path: root/community/sshguard/sshguard-journalctl
blob: e9bb14c5f91336c188c0f07fe3d7f6d80e5d88ea (plain)
1
2
3
4
#!/bin/sh
DBFILE=$1
shift
/usr/bin/journalctl -afb -p info -n1 "$@" | /usr/bin/sshguard -l- -b $DBFILE