summaryrefslogtreecommitdiff
path: root/net-firewall/iptables/files/systemd/ip6tables-restore.service
blob: c149e92ba900ab97bf6bb0694ff6c1b98424545b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Restore ip6tables firewall rules
# if both are queued for some reason, don't store before restoring :)
Before=ip6tables-store.service
# sounds reasonable to have firewall up before any of the services go up
Before=network-pre.target
Wants=network-pre.target

[Service]
Type=oneshot
ExecStart=/sbin/ip6tables-restore /var/lib/ip6tables/rules-save

[Install]
WantedBy=basic.target