#!/bin/bash ps aux| grep -v grep | grep 'conntrack -E' > /dev/null || nohup conntrack -E conntrack -e NEW | stdbuf -oL awk '{print strftime("%Y-%m-%d %H:%M:%S",systime()), $0}' > /var/log/conntrack/conntrack.log &