Commit 060a9a47 authored by Franco Fichtner's avatar Franco Fichtner

intrusion detection: suricata also needs this on /var memory disk

parent d4f5814c
#!/bin/sh
SURICATA_DIRS="/var/log/suricata"
for SURICATA_DIR in ${SURICATA_DIRS}; do
mkdir -p ${SURICATA_DIR}
chown -R root:wheel ${SURICATA_DIR}
chmod -R 0700 ${SURICATA_DIR}
done
......@@ -41,7 +41,7 @@ type:script
message:stop suricata daemon
[start]
command:/usr/local/etc/rc.d/suricata start
command:/usr/local/opnsense/scripts/suricata/setup.sh;/usr/local/etc/rc.d/suricata start
parameters:
type:script
message:start suricata daemon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment