]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
suricata: Perform ruleset update every 12 hours.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 8 May 2022 13:23:03 +0000 (15:23 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Sun, 8 May 2022 14:24:44 +0000 (14:24 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
config/cron/crontab

index d61d266190d314e773fc36c3c6ab17491c74fea4..c421046261fb61f5db3a51fa6efa5697d10ddfc6 100644 (file)
@@ -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