summaryrefslogtreecommitdiff
path: root/community/sshguard/sshguard-journalctl
diff options
context:
space:
mode:
Diffstat (limited to 'community/sshguard/sshguard-journalctl')
-rw-r--r--community/sshguard/sshguard-journalctl2
1 files changed, 2 insertions, 0 deletions
diff --git a/community/sshguard/sshguard-journalctl b/community/sshguard/sshguard-journalctl
new file mode 100644
index 000000000..fb106f5b6
--- /dev/null
+++ b/community/sshguard/sshguard-journalctl
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/journalctl -afbp info -n1 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 | /usr/bin/sshguard -l- "$@"