summaryrefslogtreecommitdiff
path: root/public/fs/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'public/fs/etc/systemd')
-rw-r--r--public/fs/etc/systemd/system/update-ipsets.service10
-rw-r--r--public/fs/etc/systemd/system/update-ipsets.timer8
2 files changed, 18 insertions, 0 deletions
diff --git a/public/fs/etc/systemd/system/update-ipsets.service b/public/fs/etc/systemd/system/update-ipsets.service
new file mode 100644
index 0000000..a31abd6
--- /dev/null
+++ b/public/fs/etc/systemd/system/update-ipsets.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=FireHOL ipset updater
+After=network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/update-ipsets
+
+User=root
+Group=root
diff --git a/public/fs/etc/systemd/system/update-ipsets.timer b/public/fs/etc/systemd/system/update-ipsets.timer
new file mode 100644
index 0000000..a153a30
--- /dev/null
+++ b/public/fs/etc/systemd/system/update-ipsets.timer
@@ -0,0 +1,8 @@
+[Unit]
+Description=Run FireHOL ipset updater
+
+[Timer]
+OnCalendar=hourly
+
+[Install]
+WantedBy=timers.target