Browse Source

automatically creates /var/run/fail2ban before start fail2ban (systems which /var/run/ is virtual resp. memory mount device)

pull/1618/head
sebres 8 years ago
parent
commit
1cd67ecaa2
  1. 1
      files/fail2ban.service

1
files/fail2ban.service

@ -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…
Cancel
Save