mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
automatically creates /var/run/fail2ban before start fail2ban (systems which /var/run/ is virtual resp. memory mount device)
This commit is contained in:
parent
528a7a5abb
commit
1cd67ecaa2
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue