Add --force flag to idstools-rulecat under so-rule-update

This forces idstools to pull from the url each time, which prevents it from clearing all.rules if idstools-rulecat is run twice within 15 minutes by any method (either restarting the container or running so-rule-update)
This commit is contained in:
William Wernert
2021-09-10 13:15:09 -04:00
parent 6a2e1df7d4
commit 9c310de459

View File

@@ -10,4 +10,4 @@ got_root() {
} }
got_root got_root
docker exec so-idstools /bin/bash -c "cd /opt/so/idstools/etc && idstools-rulecat $1" docker exec so-idstools /bin/bash -c "cd /opt/so/idstools/etc && idstools-rulecat --force $1"