summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-10-23 15:06:27 -0400
committerMike Gilbert <floppym@gentoo.org>2016-10-23 15:07:18 -0400
commit0cfab3ee206cb4edae48ded9bb5b63a7eab8fbc2 (patch)
treed12713faf0061eeeb60278c3fe7956e38090bc99 /net-firewall
parentdev-perl/XML-DT: Remove old (diff)
downloadgentoo-0cfab3ee206cb4edae48ded9bb5b63a7eab8fbc2.tar.gz
gentoo-0cfab3ee206cb4edae48ded9bb5b63a7eab8fbc2.tar.bz2
gentoo-0cfab3ee206cb4edae48ded9bb5b63a7eab8fbc2.zip
net-firewall/iptables: adjust systemd service deps
Package-Manager: portage-2.3.2
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/iptables/files/systemd/ip6tables-restore.service4
-rw-r--r--net-firewall/iptables/files/systemd/iptables-restore.service4
2 files changed, 4 insertions, 4 deletions
diff --git a/net-firewall/iptables/files/systemd/ip6tables-restore.service b/net-firewall/iptables/files/systemd/ip6tables-restore.service
index 88415fa37a64..c149e92ba900 100644
--- a/net-firewall/iptables/files/systemd/ip6tables-restore.service
+++ b/net-firewall/iptables/files/systemd/ip6tables-restore.service
@@ -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
diff --git a/net-firewall/iptables/files/systemd/iptables-restore.service b/net-firewall/iptables/files/systemd/iptables-restore.service
index 9d568d78b309..2474ee3ec419 100644
--- a/net-firewall/iptables/files/systemd/iptables-restore.service
+++ b/net-firewall/iptables/files/systemd/iptables-restore.service
@@ -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