Skip to content

Commit

Permalink
net-firewall/iptables: adjust systemd service deps
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.2
  • Loading branch information
floppym committed Oct 23, 2016
1 parent b718393 commit 0cfab3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions net-firewall/iptables/files/systemd/ip6tables-restore.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Description=Restore ip6tables firewall rules
# if both are queued for some reason, don't store before restoring :)
Before=ip6tables-store.service
# sounds reasonable to have firewall up before any of the services go up
Before=network.target
Conflicts=shutdown.target
Before=network-pre.target
Wants=network-pre.target

[Service]
Type=oneshot
Expand Down
4 changes: 2 additions & 2 deletions net-firewall/iptables/files/systemd/iptables-restore.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Description=Restore iptables firewall rules
# if both are queued for some reason, don't store before restoring :)
Before=iptables-store.service
# sounds reasonable to have firewall up before any of the services go up
Before=network.target
Conflicts=shutdown.target
Before=network-pre.target
Wants=network-pre.target

[Service]
Type=oneshot
Expand Down

0 comments on commit 0cfab3e

Please sign in to comment.