supervisord_consul 433 B

12345678910111213
  1. [program:consul]
  2. 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`"
  3. directory=/tmp
  4. user=consul
  5. numprocs=1
  6. stdout_logfile=/opt/consul/log/consul.log
  7. stderr_logfile=/opt/consul/log/error.log
  8. autostart=true
  9. autorestart=true
  10. startsecs=10
  11. stopwaitsecs=10
  12. priority=1
  13. killasgroup=true