|
|
@ -6,7 +6,7 @@
|
|
|
|
# server-ip : server ip address
|
|
|
|
# server-ip : server ip address
|
|
|
|
|
|
|
|
|
|
|
|
# create directory if doesn't exist and set permissions
|
|
|
|
# create directory if doesn't exist and set permissions
|
|
|
|
mkdir -p /opt/consul/{config, data} && chmod 700 /opt/consul
|
|
|
|
mkdir -p /opt/consul/{config,data} && chmod 700 /opt/consul
|
|
|
|
|
|
|
|
|
|
|
|
# parameter setup
|
|
|
|
# parameter setup
|
|
|
|
consulopts="-config-dir=/opt/consul/config -data-dir=/opt/consul/data"
|
|
|
|
consulopts="-config-dir=/opt/consul/config -data-dir=/opt/consul/data"
|
|
|
|