mirror of https://github.com/fail2ban/fail2ban
automatically creates /var/run/fail2ban before start fail2ban (systems which /var/run/ is virtual resp. memory mount device)
parent
528a7a5abb
commit
1cd67ecaa2
|
@ -6,6 +6,7 @@ PartOf=iptables.service firewalld.service
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/bin/mkdir -p /var/run/fail2ban
|
||||
ExecStart=/usr/bin/fail2ban-server -xf start
|
||||
ExecStop=/usr/bin/fail2ban-client stop
|
||||
ExecReload=/usr/bin/fail2ban-client reload
|
||||
|
|
Loading…
Reference in New Issue