summaryrefslogtreecommitdiff
path: root/core/iptables/iptables.service
blob: eb1a967f3ea097d02eaca43f51c79724e129b7c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Packet Filtering Framework

[Service]
Type=oneshot
ExecStart=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
ExecReload=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
ExecStop=/usr/lib/systemd/scripts/iptables-flush
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target