From 0e48c84c42407fc326bafba6c6166a38a0c3a3a4 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 8 May 2022 15:23:03 +0200 Subject: [PATCH] suricata: Perform ruleset update every 12 hours. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Schantl Reviewed-by: Peter Müller --- config/cron/crontab | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cron/crontab b/config/cron/crontab index d61d266190..c421046261 100644 --- a/config/cron/crontab +++ b/config/cron/crontab @@ -62,8 +62,8 @@ HOME=/ # Update location database %hourly,random * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-location-database >/dev/null 2>&1 -# Update surciata rules. -%daily,random * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-ids-ruleset >/dev/null 2>&1 +# Perform a surciata rules update every 12 hours. +@ 12h [ -f "/var/ipfire/red/active" ] && /usr/local/bin/update-ids-ruleset >/dev/null 2>&1 # Retry sending spooled mails regularly %hourly * /usr/sbin/dma -q -- 2.39.5