summaryrefslogtreecommitdiff
path: root/community/sshguard/sshguard.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/sshguard/sshguard.service')
-rw-r--r--community/sshguard/sshguard.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/sshguard/sshguard.service b/community/sshguard/sshguard.service
new file mode 100644
index 000000000..6dc542427
--- /dev/null
+++ b/community/sshguard/sshguard.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Block hacking attempts
+Wants=sshd.service
+
+[Service]
+EnvironmentFile=/etc/conf.d/sshguard
+ExecStart=/usr/sbin/sshguard -l /var/log/auth.log -b /var/db/sshguard/blacklist.db ${SSHGUARD_ARGS}
+
+[Install]
+WantedBy=multi-user.target