kill consul before running.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
killall consul
|
||||||
BASEDIR=`dirname $0`/../../..
|
BASEDIR=`dirname $0`/../../..
|
||||||
${BASEDIR}/consul agent -server -bootstrap-expect 1 -advertise 127.0.0.1 -data-dir /tmp/consul -ui-dir ${BASEDIR}/src/test/resources/consul_ui -config-dir ${BASEDIR}/src/test/resources/consul_config &
|
${BASEDIR}/consul agent -server -bootstrap-expect 1 -advertise 127.0.0.1 -data-dir /tmp/consul -ui-dir ${BASEDIR}/src/test/resources/consul_ui -config-dir ${BASEDIR}/src/test/resources/consul_config &
|
||||||
# wait for consul to elect a leader before sending acl
|
# wait for consul to elect a leader before sending acl
|
||||||
|
|||||||
Reference in New Issue
Block a user