|
|
|
@ -84,6 +84,7 @@ bind_addr = "$bind_ip"
|
|
|
|
|
retry_join = ["$server_ip"]
|
|
|
|
|
EOF
|
|
|
|
|
chmod 640 /etc/consul.d/consul.hcl
|
|
|
|
|
chown consul:consul /etc/consul.d/consul.hcl
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
@ -98,6 +99,7 @@ ui_config {
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
chmod 640 /etc/consul.d/server.hcl
|
|
|
|
|
chown consul:consul /etc/consul.d/server.hcl
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|