From: Stefan Schantl Date: Sat, 16 Apr 2022 12:48:35 +0000 (+0200) Subject: suricata: Create directory to store the downloaded ruleset files. X-Git-Tag: v2.27-core170~195^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d44d4ccf34132b77c8cf3d4ace7eab99a4717a53;p=ipfire-2.x.git suricata: Create directory to store the downloaded ruleset files. Signed-off-by: Stefan Schantl --- diff --git a/lfs/suricata b/lfs/suricata index 819f562a32..9a8583ea9e 100644 --- a/lfs/suricata +++ b/lfs/suricata @@ -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