2013-03-15 20:37:11 +00:00
|
|
|
[Unit]
|
2014-03-22 17:28:49 +00:00
|
|
|
Description=Fail2Ban Service
|
2014-03-24 14:20:49 +00:00
|
|
|
Documentation=man:fail2ban(1)
|
2014-03-22 17:28:49 +00:00
|
|
|
After=network.target iptables.service firewalld.service
|
2013-03-15 20:37:11 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
ExecStart=/usr/bin/fail2ban-client -x start
|
|
|
|
ExecStop=/usr/bin/fail2ban-client stop
|
|
|
|
ExecReload=/usr/bin/fail2ban-client reload
|
2013-04-17 15:27:06 +00:00
|
|
|
PIDFile=/var/run/fail2ban/fail2ban.pid
|
2013-03-15 20:37:11 +00:00
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
2013-04-17 15:27:06 +00:00
|
|
|
WantedBy=multi-user.target
|