| [Unit] | |
| Description=ipset service | |
| Before=network-pre.target iptables-restore.service ip6tables-restore.service | |
| Wants=network-pre.target | |
| ConditionFileNotEmpty=/etc/sysconfig/ipset-rules-save | |
| [Service] | |
| Type=oneshot | |
| RemainAfterExit=yes | |
| ExecStart=/usr/sbin/ipset -exist -file /etc/sysconfig/ipset-rules-save restore | |
| ExecReload=/usr/sbin/ipset -exist -file /etc/sysconfig/ipset-rules-save restore | |
| [Install] | |
| WantedBy=basic.target |