From 25f26e00099f5475672dddb6658926265276a7a7 Mon Sep 17 00:00:00 2001 From: Stuart Shelton Date: Wed, 22 Apr 2015 00:37:17 +0100 Subject: Move net-firewall/iptables-nftables-9999 to net-firewall/iptables-nftables-1.4.21-r1, add net-firewall/iptables-9999 --- .../iptables-nftables/files/systemd/ip6tables-store.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-firewall/iptables-nftables/files/systemd/ip6tables-store.service (limited to 'net-firewall/iptables-nftables/files/systemd/ip6tables-store.service') diff --git a/net-firewall/iptables-nftables/files/systemd/ip6tables-store.service b/net-firewall/iptables-nftables/files/systemd/ip6tables-store.service new file mode 100644 index 00000000..99753783 --- /dev/null +++ b/net-firewall/iptables-nftables/files/systemd/ip6tables-store.service @@ -0,0 +1,11 @@ +[Unit] +Description=Store ip6tables firewall rules +Before=shutdown.target +DefaultDependencies=No + +[Service] +Type=oneshot +ExecStart=/bin/sh -c "/sbin/ip6tables-save --counters > /var/lib/ip6tables/rules-save" + +[Install] +WantedBy=shutdown.target -- cgit v1.2.3-65-gdbad