Use original style due to pgrep conflict with cron

This commit is contained in:
Jason Ertel
2022-12-07 11:51:49 -05:00
parent e849783a86
commit fde33de030

View File

@@ -154,7 +154,7 @@ filecheck_restart:
filecheck_run:
cron.present:
- name: 'pgrep -f "python3 /opt/so/conf/strelka/filecheck" &> /dev/null >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'
- name: 'ps -ef | grep filecheck | grep -v grep &> /dev/null >> /opt/so/log/strelka/filecheck_stdout.log 2>&1 &'
- user: {{ filecheck_runas }}
filcheck_history_clean: