Blame SOURCES/ipset.service

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