Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485466 - net-firewall/ipset - add systemd unit file
Summary: net-firewall/ipset - add systemd unit file
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2013-09-20 06:36 UTC by Justus Ranvier
Modified: 2013-10-06 08:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ipset.service (ipset.service,528 bytes, text/plain)
2013-09-20 06:37 UTC, Justus Ranvier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justus Ranvier 2013-09-20 06:36:39 UTC
The attached unit file loads saved ipset rules on start, and saves them on stop.

Achieves the same functionality as /etc/init.d/ipset except it will successfully start if there are no saved rules instead of throwing an error.

Reproducible: Always
Comment 1 Justus Ranvier 2013-09-20 06:37:03 UTC
Created attachment 359106 [details]
ipset.service
Comment 2 Pacho Ramos gentoo-dev 2013-09-28 10:45:15 UTC
Why the need of startpre and stoppost stuff? I have looked at Fedora and Arch and they don't need it at all