summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/iptables/iptables/iptables.service
blob: 041316e45765737fbf9b1e83869f5cd6250f5cf6 (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 /etc/iptables/iptables.rules
ExecReload=@SBINDIR@/iptables-restore /etc/iptables/iptables.rules
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target