Closed kcraft closed 8 years ago
Runnung docker stop haproxy-consul followed by docker start haproxy-consul results in the following error in the logs:
docker stop haproxy-consul
docker start haproxy-consul
ln: /consul-template/template.d/haproxy.tmpl: File exists
It looks like this line in launch.sh needs to remove the link before creating it or needs to test for the existence of the link:
ln -s /consul-template/template.d/${HAPROXY_MODE}.tmpl /consul-template/template.d/haproxy.tmpl
The same problem happens if the docker daemon or the VM it runs on are restarted.
+1 we have encountered this as well.
I believe this is fixed by my PR https://github.com/CiscoCloud/haproxy-consul/pull/27
Should be fixed by #27. Thanks @chazsconi!
Runnung
docker stop haproxy-consul
followed bydocker start haproxy-consul
results in the following error in the logs:It looks like this line in launch.sh needs to remove the link before creating it or needs to test for the existence of the link:
The same problem happens if the docker daemon or the VM it runs on are restarted.