title: Haproxy reload from consul-template
body: <p>I have multiple microservices running on my AWS ECS Fargate cluster. Inside a task (pod), there will be multiple containers (1 container for core-business service and additional 3 sidecar containers). Here are the list of those containers:</p>
  <ul>
  <li>core-business service container (runs the core business service on specific port)</li>
  <li>consul-agent container (runs consul-agent and joins it with the consul-master)</li>
  <li>consul-template container (gets the service information from consul and updates the haproxy.cfg)</li>
  <li>haproxy container (takes the haproxy.cfg from consul-template and runs)</li>
  </ul>
  <p>All these containers are up and running fine as well. The problem is to reload the haproxy. Since the consul-template is responsible for updating the haproxy.cfg file, Should I need to add some configuration on consul-template itself to update the haproxy?</p>
  <p>Here is the command I am currently using for consul-template:</p>
  <pre><code>consul-template -consul-addr=xx.xx.xx.xx:8500 -template /etc/consul-template/data/haproxy.cfg.ctmpl:/etc/consul-template/data/haproxy.cfg
  </code></pre>
  <p>What can I try to achieve this?</p>