mirror of
https://github.com/fail2ban/fail2ban.git
synced 2025-11-26 14:20:19 +08:00
Merge pull request #1390 from khumarahn/xxx
ensure /var/run/fail2ban is created in systemd service file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user