{
  "services": {
    "haproxy": {
      "state": "down",
      "enable": "rm -vf /etc/haproxy/haproxy.cfg; ln -sf /package/airstack/haproxy/haproxy.cfg /etc/haproxy/",
      "disable": "",
      "run": "exec chpst -u root /usr/sbin/haproxy -db -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -sf $(cat /var/run/haproxy.pid); sleep 1; done",
      "check": "",
      "finish": "",
      "log": "exec chpst -u root logger -t haproxy -p local0.notice",
      "tags": ["proxy", "loadbalancer", "haproxy"],
      "input": [{"source": "any", "destination": "any", "port": "9999", "protocol": "tcp", "tags": [ "statistics" ]}],
      "output": [{"source": "any", "destination": "any", "port": "any", "protocol": "tcp", "tags": [ "" ]}]
    }
  }
}

{
  "services": {
    "haproxy": {
      "state": "down",
      "enable": "rm -f /etc/haproxy/haproxy.cfg; ln -sf /package/airstack/haproxy/haproxy.cfg /etc/haproxy/",
      "disable": "",
      "run": "exec chpst -u root /usr/sbin/haproxy -db -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -sf $(cat /var/run/haproxy.pid); sleep 1; done",
      "check": "",
      "finish": "",
      "log": "exec chpst -u root logger -t haproxy -p local0.notice",
      "tags": ["proxy", "loadbalancer", "haproxy"],
      "input": [{"source": "any", "destination": "any", "port": "9999", "protocol": "tcp", "tags": [ "statistics" ]}],
      "output": [{"source": "any", "destination": "any", "port": "any", "protocol": "tcp", "tags": [ "" ]}]
    }
  }
}

Update haproxy enable to be less verbose.
Update haproxy enable to be less verbose.
