Merge pull request #1390 from khumarahn/xxx

ensure /var/run/fail2ban is created in systemd service file
pull/794/merge
Serg G. Brester 2017-07-11 15:53:43 +02:00 committed by GitHub
commit 99b668a3cc
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