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

This commit is contained in:
Jason Ertel
2022-12-07 14:03:31 -05:00
parent 9f72cfa1fc
commit ef3def156d

View File

@@ -88,7 +88,7 @@ socusersroles:
salt-relay:
cron.present:
- name: 'ps -ef | grep salt-relay.sh | grep -v grep &> /dev/null || /opt/so/saltstack/default/salt/soc/files/bin/salt-relay.sh >> /opt/so/log/soc/salt-relay.log 2>&1 &'
- name: 'ps -ef | grep salt-relay.sh | grep -v grep > /dev/null 2>&1 || /opt/so/saltstack/default/salt/soc/files/bin/salt-relay.sh >> /opt/so/log/soc/salt-relay.log 2>&1 &'
so-soc:
docker_container.running: