From d48d473f436f9a90f2b485c5eff6aa68963444f4 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Wed, 7 Dec 2022 14:06:24 -0500 Subject: [PATCH] Switch back to older style redirect due to incompatibility with Ub 18 --- salt/strelka/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/strelka/init.sls b/salt/strelka/init.sls index e305ab303..30181d9cc 100644 --- a/salt/strelka/init.sls +++ b/salt/strelka/init.sls @@ -185,7 +185,7 @@ filecheck_oldcronremoval: filecheck_run: cron.present: - - name: 'ps -ef | grep filecheck | grep -v grep &> /dev/null || 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 &' - user: {{ filecheck_runas }} filcheck_history_clean: