net-firewall/iptables: adjust systemd service deps

Package-Manager: portage-2.3.2
This commit is contained in:
Mike Gilbert
2016-10-23 15:06:27 -04:00
parent b718393095
commit 0cfab3ee20
2 changed files with 4 additions and 4 deletions

View File

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

View File

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