suricata: Create directory to store the downloaded ruleset files.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2022-04-16 14:48:35 +02:00
parent b75baeff28
commit d44d4ccf34

View File

@@ -101,6 +101,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Create emtpy rules directory.
-mkdir -p /var/lib/suricata
# Create empty cache directory.
-mkdir -p /var/cache/suricata
# Move config files for references, threshold and classification
# to the rules directory.
rm -rfv /etc/suricata/*.config
@@ -113,6 +116,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# contained files
chown -R nobody:nobody /var/lib/suricata
# Set correct ownership for the cache directory.
chown nobody:nobody /var/cache/suricata
# Create logging directory.
-mkdir -p /var/log/suricata