#Consul agent echo "Starting consul-agent..." /sbin/consul agent -config-file=/etc/consul.conf.json -config-dir=/etc/consul.d -pid-file=/var/run/consul.pid -retry-join=consul1.nethero.org -retry-join=consul2.nethero.org -retry-max=0 >>/var/log/consul-agent.log & sleep 5 #Consul template echo "Starting consul-template..." ; /sbin/consul-template -consul 127.0.0.1:8500 -template "/etc/consul-templates/bigip.ctmpl:/config/partitions/consul/bigip.conf:/sbin/reload-consul.sh" 2>&1 >>/var/log/consul-template.log &