mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 11:04:42 +00:00
13 lines
313 B
Bash
Executable File
13 lines
313 B
Bash
Executable File
#!/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
|
|
|
|
# make sure we can load our yaml file if we don't have rules installed yet
|
|
touch /usr/local/etc/suricata/installed_rules.yaml
|