From f07b04f9bcd946eee016beab33e50fe67c0b487f Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Sat, 8 Jan 2022 21:26:46 +0530 Subject: [PATCH] consul-bootstrap.sh --- consul-bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/consul-bootstrap.sh b/consul-bootstrap.sh index 7ce2571..be9b938 100755 --- a/consul-bootstrap.sh +++ b/consul-bootstrap.sh @@ -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