summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-extended/iptables/iptables/iptables.service
diff options
context:
space:
mode:
authortakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
committertakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
commit1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch)
treecd70a267a5ef105ba32f200aa088e281fbd85747 /external/poky/meta/recipes-extended/iptables/iptables/iptables.service
parent4204309872da5cb401cbb2729d9e2d4869a87f42 (diff)
recipes
Diffstat (limited to 'external/poky/meta/recipes-extended/iptables/iptables/iptables.service')
-rw-r--r--external/poky/meta/recipes-extended/iptables/iptables/iptables.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/external/poky/meta/recipes-extended/iptables/iptables/iptables.service b/external/poky/meta/recipes-extended/iptables/iptables/iptables.service
new file mode 100644
index 00000000..0eb3c343
--- /dev/null
+++ b/external/poky/meta/recipes-extended/iptables/iptables/iptables.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=IPv4 Packet Filtering Framework
+Before=network-pre.target
+Wants=network-pre.target
+
+[Service]
+Type=oneshot
+ExecStart=@SBINDIR@/iptables-restore -w -- @RULESDIR@/iptables.rules
+ExecReload=@SBINDIR@/iptables-restore -w -- @RULESDIR@/iptables.rules
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target