summaryrefslogtreecommitdiff
path: root/community/ipset/ipset.systemd
diff options
context:
space:
mode:
Diffstat (limited to 'community/ipset/ipset.systemd')
-rw-r--r--community/ipset/ipset.systemd8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/ipset/ipset.systemd b/community/ipset/ipset.systemd
new file mode 100644
index 000000000..36df5124a
--- /dev/null
+++ b/community/ipset/ipset.systemd
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+. /etc/conf.d/ipset
+
+[[ -f $IPSET_CONF ]] || exit 1
+ipset restore < "$IPSET_CONF"
+
+# vim:set ts=2 sw=2 ft=sh et: