summaryrefslogtreecommitdiff
path: root/sshguard/sshguard.service
diff options
context:
space:
mode:
Diffstat (limited to 'sshguard/sshguard.service')
-rw-r--r--sshguard/sshguard.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/sshguard/sshguard.service b/sshguard/sshguard.service
new file mode 100644
index 0000000..370f085
--- /dev/null
+++ b/sshguard/sshguard.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Protect hosts from brute force attacks against ssh
+After=syslog.target network.target auditd.service
+ConditionPathExists=/etc/sysconfig/sshguard
+
+[Service]
+PIDFile=/var/run/sshguard.pid
+Exec=/usr/libexec/sshguard.init start @
+StandardOutput=syslog
+
+[Install]
+WantedBy=multi-user.target