summaryrefslogtreecommitdiffstats
path: root/abs/core/iptables/iptables.service
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-08 23:59:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-08 23:59:38 (GMT)
commit5f15b4d5ecf7505b9a5b1de8352b3fc33fd56f9b (patch)
tree532bdbdf958caa389dec90dbbf496823a37cc598 /abs/core/iptables/iptables.service
parent93e4c061485f91013d4151c9eb88b5e0a92f6793 (diff)
downloadlinhes_pkgbuild-5f15b4d5ecf7505b9a5b1de8352b3fc33fd56f9b.zip
linhes_pkgbuild-5f15b4d5ecf7505b9a5b1de8352b3fc33fd56f9b.tar.gz
linhes_pkgbuild-5f15b4d5ecf7505b9a5b1de8352b3fc33fd56f9b.tar.bz2
iptables 1.4.19
Diffstat (limited to 'abs/core/iptables/iptables.service')
-rw-r--r--abs/core/iptables/iptables.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/iptables/iptables.service b/abs/core/iptables/iptables.service
new file mode 100644
index 0000000..3084f53
--- /dev/null
+++ b/abs/core/iptables/iptables.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Packet Filtering Framework
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
+ExecStop=/usr/lib/systemd/scripts/iptables-flush
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target