Blame SOURCES/ipset.service

7b50d1
[Unit]
7b50d1
Description=IP sets for iptables
7b50d1
Before=iptables.service
7b50d1
Before=ip6tables.service
7b50d1
7b50d1
[Service]
7b50d1
Type=oneshot
7b50d1
RemainAfterExit=yes
7b50d1
ExecStart=/usr/libexec/ipset/ipset.start-stop start
7b50d1
ExecStop=/usr/libexec/ipset/ipset.start-stop stop
7b50d1
ExecReload=/usr/libexec/ipset/ipset.start-stop reload
7b50d1
# Save current ipset entries on stop.
7b50d1
#   Value: yes|no,  default: no
7b50d1
# Saves all ipsets to /etc/sysconfig/ipset if ipset gets stopped
7b50d1
Environment=IPSET_SAVE_ON_STOP=no
7b50d1
EnvironmentFile=-/etc/sysconfig/ipset-config
7b50d1
7b50d1
[Install]
7b50d1
WantedBy=basic.target