Skip to content

Commit

Permalink
Added PartOf to service file so f2b restarts when deps do
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshartig committed Nov 12, 2015
1 parent b3ed19b commit 9905396
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/fail2ban.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Description=Fail2Ban Service
Documentation=man:fail2ban(1)
After=network.target iptables.service firewalld.service
PartOf=iptables.service firewalld.service

[Service]
Type=forking
Expand Down

0 comments on commit 9905396

Please sign in to comment.