IDS: Set owner of suricata logging directory to correct user

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2019-03-10 18:52:40 +01:00
parent fd378b3b08
commit f717b1dc55

View File

@@ -102,5 +102,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Create logging directory.
-mkdir -p /var/log/suricata
# Set correct ownership for /var/log/suricata.
chown suricata:suricata /var/log/suricata
@rm -rf $(DIR_APP)
@$(POSTBUILD)