2013-03-15 20:37:11 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Fail2ban Service
|
2013-04-17 15:27:06 +00:00
|
|
|
After=syslog.target network.target
|
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
|