mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #11404 from Security-Onion-Solutions/fix/filecheckcron
Fix/filecheckcron
This commit is contained in:
@@ -108,6 +108,11 @@ filecheck_stdout.log:
|
|||||||
|
|
||||||
{% if GLOBALS.md_engine == 'ZEEK' %}
|
{% if GLOBALS.md_engine == 'ZEEK' %}
|
||||||
|
|
||||||
|
remove_filecheck_run:
|
||||||
|
cron.absent:
|
||||||
|
- identifier: filecheck_run
|
||||||
|
- user: socore
|
||||||
|
|
||||||
filecheck_run_socore:
|
filecheck_run_socore:
|
||||||
cron.present:
|
cron.present:
|
||||||
- name: 'ps -ef | grep filecheck | grep -v grep > /dev/null 2>&1 || python3 /opt/so/conf/strelka/filecheck >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'
|
- name: 'ps -ef | grep filecheck | grep -v grep > /dev/null 2>&1 || python3 /opt/so/conf/strelka/filecheck >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'
|
||||||
@@ -121,6 +126,11 @@ remove_filecheck_run_suricata:
|
|||||||
|
|
||||||
{% elif GLOBALS.md_engine == 'SURICATA'%}
|
{% elif GLOBALS.md_engine == 'SURICATA'%}
|
||||||
|
|
||||||
|
remove_filecheck_run:
|
||||||
|
cron.absent:
|
||||||
|
- identifier: filecheck_run
|
||||||
|
- user: suricata
|
||||||
|
|
||||||
filecheck_run_suricata:
|
filecheck_run_suricata:
|
||||||
cron.present:
|
cron.present:
|
||||||
- name: 'ps -ef | grep filecheck | grep -v grep > /dev/null 2>&1 || python3 /opt/so/conf/strelka/filecheck >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'
|
- name: 'ps -ef | grep filecheck | grep -v grep > /dev/null 2>&1 || python3 /opt/so/conf/strelka/filecheck >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'
|
||||||
|
|||||||
Reference in New Issue
Block a user