forked from pool/fail2ban
16 lines
392 B
SYSTEMD
16 lines
392 B
SYSTEMD
|
[Unit]
|
||
|
Description=Bans IPs with too many authentication failures
|
||
|
After=network.target SuSEfirewall2.service
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
EnvironmentFile=-/etc/sysconfig/fail2ban
|
||
|
PIDFile=/run/fail2ban/fail2ban.pid
|
||
|
ExecStart=/usr/bin/fail2ban-client -x $FAIL2BAN_OPTIONS start
|
||
|
ExecReload=/usr/bin/fail2ban-client reload
|
||
|
ExecStop=/usr/bin/fail2ban-client stop
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|