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

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

[Install]
WantedBy=multi-user.target