mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 03:32:53 +01:00
fix brackets
This commit is contained in:
@@ -24,7 +24,7 @@ read lastPID < $lf
|
|||||||
[ ! -z "$lastPID" -a -d /proc/$lastPID ] && exit
|
[ ! -z "$lastPID" -a -d /proc/$lastPID ] && exit
|
||||||
echo $$ > $lf
|
echo $$ > $lf
|
||||||
|
|
||||||
MAXEVES={% salt['pillar.get']('suricata:cleanup:eve_json', 20) %}
|
MAXEVES={{ salt['pillar.get']('suricata:cleanup:eve_json', 20) }}
|
||||||
|
|
||||||
# Find eve files and remove them
|
# Find eve files and remove them
|
||||||
NUMEVES=$(find /nsm/suricata/ -type f -name "eve-*.json" | wc -l)
|
NUMEVES=$(find /nsm/suricata/ -type f -name "eve-*.json" | wc -l)
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ so-suricata-eve-clean:
|
|||||||
- name: /usr/sbin/so-suricata-eve-clean
|
- name: /usr/sbin/so-suricata-eve-clean
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- file_mode: 755
|
- mode: 755
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- source: salt://suricata/cron/so-suricata-eve-clean
|
- source: salt://suricata/cron/so-suricata-eve-clean
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user