Switch back to older style redirect due to incompatibility with Ub 18

This commit is contained in:
Jason Ertel
2022-12-07 14:08:11 -05:00
parent ef3def156d
commit 0bbc68edae

View File

@@ -154,7 +154,7 @@ filecheck_restart:
filecheck_run: filecheck_run:
cron.present: cron.present:
- name: 'ps -ef | grep filecheck | grep -v grep &> /dev/null >> /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 &'
- user: {{ filecheck_runas }} - user: {{ filecheck_runas }}
filcheck_history_clean: filcheck_history_clean: