summaryrefslogtreecommitdiff
path: root/core/iptables/iptables.service
blob: 3084f53b7e6793e5c2a6dc2a1d18cbbad801aad8 (plain)
1
2
3
4
5
6
7
8
9
10
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