Added a latch, to prevent the swarm managers from starting until the load balancer has started.
This is because the load balancer is only re-configured when a swarm manager is added to the cluster- so we need to make sure the balancer is up first.
Also added an explicit CD to the RUN_DIR when we are configuring swarm
Added a latch, to prevent the swarm managers from starting until the load balancer has started. This is because the load balancer is only re-configured when a swarm manager is added to the cluster- so we need to make sure the balancer is up first.
Also added an explicit CD to the RUN_DIR when we are configuring swarm