mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
ensure /var/run/fail2ban is created in systemd service file
This commit is contained in:
parent
1153c0a5c6
commit
5773eb71b8
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ PartOf=iptables.service firewalld.service
|
|||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/mkdir -p /var/run/fail2ban
|
||||
ExecStart=/usr/bin/fail2ban-client -x start
|
||||
ExecStop=/usr/bin/fail2ban-client stop
|
||||
ExecReload=/usr/bin/fail2ban-client reload
|
||||
|
|
|
|||
Loading…
Reference in a new issue