[program:consul] command=/bin/bash -c "/usr/local/bin/consul_cloud_setup && exec /opt/consul/bin/consul agent -config-dir=/opt/consul/etc -bind=`curl -s http://169.254.169.254/latest/meta-data/local-ipv4` -node=`hostname`" directory=/tmp user=consul numprocs=1 stdout_logfile=/opt/consul/log/consul.log stderr_logfile=/opt/consul/log/error.log autostart=true autorestart=true startsecs=10 stopwaitsecs=10 priority=1 killasgroup=true