void-packages/srcpkgs/sshguard/files/sshguard-socklog/run

6 lines
184 B
Bash
Executable File

#!/bin/sh
sv check iptables >/dev/null || exit 1
sv check socklog-unix >/dev/null || exit 1
exec sshguard -l /var/log/socklog/secure/current -b 200:/var/db/sshguard/blacklist.db 2>&1