From 16a71a0628417b1b1eda564a88eb98b53a2db3cb Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Mon, 18 May 2020 08:00:47 +0000 Subject: systemd: added ipsets service configuration. --- public/fs/etc/systemd/system/update-ipsets.service | 10 ++++++++++ public/fs/etc/systemd/system/update-ipsets.timer | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 public/fs/etc/systemd/system/update-ipsets.service create mode 100644 public/fs/etc/systemd/system/update-ipsets.timer (limited to 'public/fs/etc') 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 -- cgit v1.2.3