On Sat, 10 Dec 2016, Brian Flaherty wrote:
> However, if I stop and start fail2ban after shorewall is running from the 
> prompt. I don't get any errors.

> In the fail2ban.service file in /usr/lib/systemd/system, iptables and 
> firewalld are nammed in "After", but shorewall isn't. Can that be included?


> $ cat /lib/systemd/system/fail2ban.service
> [Unit]
> Description=Fail2Ban Service
> Documentation=man:fail2ban(1)
> After=network.target iptables.service firewalld.service
> PartOf=iptables.service firewalld.service

> [Service]
> Type=forking
> ExecStart=/usr/bin/fail2ban-client -x start
> ExecStop=/usr/bin/fail2ban-client stop
> ExecReload=/usr/bin/fail2ban-client reload
> PIDFile=/var/run/fail2ban/fail2ban.pid
> Restart=always

> [Install]
> WantedBy=multi-user.target


> If I add it myself, I assume it will be overwritten when an updated version 
> is installed.

heh -- just uploaded fresh release... could you give it a shot and see
if it resolves it.  Would be appreciated!

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        

Reply via email to