summaryrefslogtreecommitdiff
path: root/examples/sshguard.service
blob: 8979e1d921e544ea65477617c47914f5f170af6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# sshguard.service -- sample systemd unit file

[Unit]
Description=SSHGuard - blocks brute-force login attempts
After=iptables.target
After=ip6tables.target
After=libvirtd.service
After=firewalld.service

[Service]
ExecStartPre=-/usr/sbin/iptables -N sshguard
ExecStart=/usr/local/sbin/sshguard
Restart=always

[Install]
WantedBy=multi-user.target