summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/iptables/iptables/iptables.service
blob: 5a8aa3f2982313d57f31998cac1c2eb4ec63699d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Packet Filtering Framework
Before=network-pre.target
Wants=network-pre.target

[Service]
Type=oneshot
ExecStart=@SBINDIR@/iptables-restore @RULESDIR@/iptables.rules
ExecReload=@SBINDIR@/iptables-restore @RULESDIR@/iptables.rules
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target