summaryrefslogtreecommitdiff
path: root/extra/ipset/ipset.service
blob: 4318b056c0f9ffed2a8a7fa229f23789987e866a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Loading IP Sets
Before=iptables.service ip6tables.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/ipset -f /etc/ipset.conf restore
ExecReload=/usr/bin/ipset -f /etc/ipset.conf restore
ExecStop=/usr/bin/ipset destroy

[Install]
WantedBy=multi-user.target