2020-04-15 01:42:03 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Loading IP Sets
|
2020-04-15 14:26:22 +00:00
|
|
|
Before=network.target
|
2020-04-15 14:13:53 +00:00
|
|
|
Before=netfilter-persistent.service
|
2020-04-15 01:42:03 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2020-04-15 14:23:45 +00:00
|
|
|
ExecStart=/sbin/ipset -! -f /etc/ipset.conf restore
|
|
|
|
ExecReload=/sbin/ipset -! -f /etc/ipset.conf restore
|
2020-04-15 14:13:53 +00:00
|
|
|
ExecStop=/sbin/ipset flush
|
2020-04-15 01:42:03 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2020-04-15 14:13:53 +00:00
|
|
|
RequiredBy=netfilter-persistent.service
|