Merge pull request #9306 from Security-Onion-Solutions/TOoSmOotH-patch-2

Update init.sls
This commit is contained in:
Mike Reeves
2022-12-06 13:38:35 -05:00
committed by GitHub

View File

@@ -170,6 +170,12 @@ filecheck_script:
- group: 939 - group: 939
- mode: 755 - mode: 755
filecheck_restart:
cmd.run:
- name: pkill -f "python3 /opt/so/conf/strelka/filecheck"
- onchanges:
- file: filecheck_script
filecheck_run: filecheck_run:
cron.present: cron.present:
- name: 'ps -ef | grep filecheck | grep -v grep || python3 /opt/so/conf/strelka/filecheck >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &' - name: 'ps -ef | grep filecheck | grep -v grep || python3 /opt/so/conf/strelka/filecheck >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'