diff options
-rw-r--r-- | net-firewall/iptables/files/systemd/ip6tables-restore.service | 4 | ||||
-rw-r--r-- | net-firewall/iptables/files/systemd/iptables-restore.service | 4 |
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 |