ensure /var/run/fail2ban is created in systemd service file

pull/1390/head
Alexey Korepanov 2016-04-12 21:20:19 +01:00
parent 1153c0a5c6
commit 5773eb71b8
1 changed files with 1 additions and 0 deletions

View File

@ -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